mirror of
https://github.com/nextcloud/server.git
synced 2026-06-29 21:27:15 -04:00
fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
f9450f2d20
commit
75585be67f
1 changed files with 1 additions and 0 deletions
|
|
@ -769,6 +769,7 @@ class Manager implements IManager {
|
|||
$cachedValue = $this->distributedCache->get('available_task_types_v2');
|
||||
if ($cachedValue !== null) {
|
||||
$this->availableTaskTypes = unserialize($cachedValue);
|
||||
}
|
||||
}
|
||||
// Either we have no cache or showDisabled is turned on, which we don't want to cache, ever.
|
||||
if ($this->availableTaskTypes === null || $showDisabled) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue