Commit 31d29739 authored by Daniel Hürtgen's avatar Daniel Hürtgen
Browse files

[FEATURE] Apply configured lock implementation expiration to lock implementation if possible

parent 2f60d007
......@@ -4,6 +4,7 @@ namespace Higidi\Lock;
use Higidi\Lock\Builder\LockBuilder;
use Higidi\Lock\Configuration\Configuration;
use NinjaMutex\Lock\LockExpirationInterface;
use NinjaMutex\Lock\LockInterface;
use TYPO3\CMS\Core\Locking\Exception\LockCreateException;
use TYPO3\CMS\Core\Locking\LockFactory as CoreLockFactory;
......@@ -116,6 +117,9 @@ class LockFactory extends CoreLockFactory
if ($lockImplementation instanceof LockExpirationInterface) {
$this->lockImplementation = $lockImplementation;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment