tourstream / typo3-redis-lock-strategy
Installs: 6 006
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 7
Open Issues: 4
Type:typo3-cms-extension
Requires
- php: ^7.0
- typo3/cms: ^8.6.1||^8.7
Requires (Dev)
- phpunit/phpunit: ^5.7
- typo3/testing-framework: ^1.0
Replaces
- redis_lock_strategy: 3.0.1
This package is not auto-updated.
Last update: 2021-03-06 09:34:41 UTC
README
TYPO3 Extension: redis lock strategy
The extension adds a redis lock strategy with priority 100. So the redis lock will be used instead of file base locking, especially useful in cluster with nfs.
Features
- Redis Lock
Installation
The recommended way to install the extension is by using Composer. In your Composer based TYPO3 project root, just do
composer require tourstream/typo3-redis-lock-strategy
This extension uses the pecl extension redis.
Usage
$GLOBALS['TYPO3_CONF_VARS']['SYS']['redis_lock'] = [
'host' => 'localhost',
'port' => 6379, // optional, default 6379
'database' => 0, // optional, default 0
'ttl' => '60', // optional, default 60
'auth' => 'secret' // optional, for secured redis db's
];