mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #27818 from nextcloud/fix/locking-cache-check
Fix in locking cache check
This commit is contained in:
commit
5e7206d23a
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ class Factory implements ICacheFactory {
|
|||
'{class}' => $distributedCacheClass, '{use}' => 'distributed'
|
||||
]), $missingCacheHint);
|
||||
}
|
||||
if (!($lockingCacheClass && class_exists($distributedCacheClass) && $lockingCacheClass::isAvailable())) {
|
||||
if (!($lockingCacheClass && class_exists($lockingCacheClass) && $lockingCacheClass::isAvailable())) {
|
||||
// don't fallback since the fallback might not be suitable for storing lock
|
||||
$lockingCacheClass = self::NULL_CACHE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue