beaker
beaker copied to clipboard
Is a cache.lock_dir needed when using ext:database ?
After having a read on http://turbogears.org/2.1/docs/main/Caching.html#configuring-beaker I just need to confirm this.
Do I need a cache.lock_dir directory when using ext:database? The docs make no mention of it unlike the file/memory cache, but I can see the lock_dir being referenced inside the code for sqlalchemy's handler.
It apparently does not, as far as I know.
Like any other cache the file lock is used to prevent dogpile effect. If it's not provided tempfile.gettempdir()
will be used.