[TYPO3-core] RFC: #7333: Solution for "Page is being generated"
Michael Stucki
michael at typo3.org
Thu Feb 7 16:35:36 CET 2008
Attached is a new version which fixes all topics discussed, included that
one below.
Please make a final test of it, and let me know asap. So far it works
perfect here, but I only tried using the "simple" method.
Ingo, can you please commit it for me when approved, so it will be part of
the release tonight?
Thank you guys!
- michael
Michael Stucki wrote:
>> As already discussed with you on Skype (but before we forget it, I write
>> it down *g*):
>>
>> + $key = $this->id.'::'.$this->MP;
>> + $isLocked = $this->lockPageGenerate($key);
>> // Returns true if the lock is active now
>>
>> When these two uncached URLs are called nearly at the same time:
>> * index.php?id=111&tx_myext_pi1[uid]=22&cHash=abcd
>> * index.php?id=111&tx_myext_pi1[uid]=33&cHash=dcba
>>
>> The $key variable which is used for locking is the same in both cases.
>> This would cause a lock and delay were it is not required.
>
> Correct. For this reason, Bernhard was using two different locks in his
> first patch. However, I moved the places around and finally thought it
> will be hard to place the 2nd lock correctly.
>
> So I would like to treat this as a bug and have a look at it later, well
> knowing that currently the lock is working disregarding of cHashes...
>
> - michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lockPageGeneration_v3.diff
Type: text/x-diff
Size: 19308 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080207/d67069d1/attachment-0001.diff
More information about the TYPO3-team-core
mailing list