Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.2 KB

README.md

File metadata and controls

56 lines (36 loc) · 2.2 KB

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