[TYPO3-core] RFC: #7333: Solution for "Page is being generated"

Michael Stucki michael at typo3.org
Thu Feb 7 13:45:09 CET 2008


Martin Kutschker wrote:

> PATH_site.'typo3temp/pagegen_locks/'
> 
> The lock class is a general purpose class, so we need a different path:
> 
> PATH_site.'typo3temp/locks/'

ACK.

>> Later. I also thought about using separate classes for each method. This
>> would make it easily extendable...
> 
> Yes, please. For 4.2 final we should have more classes.

Hope it can be changed after beta1.

> I'm a bit unhappy that you have to refer to
> $TYPO3_CONF_VARS['SYS']['lockingMode'] when you instantiate a locking
> object. There is some merit that you can choose a mech at runtime, but
> it'd be easier if the method is optional (or '' would choose the default
> via $TYPO3_CONF_VARS).

I disagree! The locking mode solely depends on the system, so there is no
sense if some extension author likes to choose his own favourite.

> Further there is no check if the method is available. System V IPC is
> not compiled by default (according to php.net) and is not available on
> Windows. So we need a fallback (and/or a check in the installer).

Later.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list