diff options
author | Marcel Klehr <mklehr@gmx.net> | 2025-02-04 13:04:43 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-02-06 07:52:04 +0000 |
commit | 75585be67f7c8e4164339463a84cdb2d4e965ed6 (patch) | |
tree | b3018df486f756dab97b78d4f5a117a8749106fb | |
parent | f9450f2d2064f8625b8b04ff7cec5739d3fd8559 (diff) | |
download | nextcloud-server-backport/50640/stable31.tar.gz nextcloud-server-backport/50640/stable31.zip |
fix(TaskProcessing\Manager): Always use distributed cache and use PHP serializebackport/50640/stable31
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
-rw-r--r-- | lib/private/TaskProcessing/Manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/TaskProcessing/Manager.php b/lib/private/TaskProcessing/Manager.php index c63ff8f7ebb..0c8d2414448 100644 --- a/lib/private/TaskProcessing/Manager.php +++ b/lib/private/TaskProcessing/Manager.php @@ -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) { |