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

[FEATURE] Hash locker id for mutex adapter strategy

parent eb04c4b5
......@@ -64,6 +64,7 @@ class LockFactory extends CoreLockFactory
try {
$strategyClassName = $this->configuration->getStrategy();
if ($this->configuration->isMutexStrategy()) {
$id = md5((string)$id);
$mutexClassName = $this->configuration->getMutex();
$lockImplementation = $this->getLockImplemenation();
$mutex = GeneralUtility::makeInstance($mutexClassName, $id, $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