fix(TaskProcessing\Manager): Always use distributed cache and use PHP serialize

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2025-02-04 13:04:43 +01:00 committed by backportbot[bot]
parent f9450f2d20
commit 75585be67f

View file

@ -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) {