We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ee8688 commit ccb3ff0Copy full SHA for ccb3ff0
lib/private/TaskProcessing/Manager.php
@@ -739,8 +739,10 @@ public function getPreferredProvider(string $taskTypeId) {
739
740
public function getAvailableTaskTypes(): array {
741
if ($this->availableTaskTypes === null) {
742
- // We use local cache only because distributed cache uses JSOn stringify which would botch our ShapeDescriptor objects
743
- $this->availableTaskTypes = $this->cache->get('available_task_types');
+ $cachedValue = $this->distributedCache->get('available_task_types_v2');
+ if ($cachedValue !== null) {
744
+ $this->availableTaskTypes = unserialize($cachedValue);
745
+ }
746
}
747
748
$taskTypes = $this->_getTaskTypes();
0 commit comments