tourstream/typo3-redis-lock-strategy

This package is abandoned and no longer maintained. No replacement package was suggested.

Installs: 3 619

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 2

Forks: 7

Open Issues: 4

Type:typo3-cms-extension

3.0.1 2017-12-21 00:57 UTC

README

github tag Packagist version Scrutinizer Code Quality Travis-CI License

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
    ];