Skip to content

martinez099/typo3-redis-lock-strategy

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%