MDL-69698 licenses: Improve the performance of the licenses cache

The cache uses a single simple key and there is no need to hash it.
This commit is contained in:
David Mudrák 2020-09-15 10:22:57 +02:00
parent 036c583800
commit be2015a176

View File

@ -473,7 +473,7 @@ $definitions = array(
// Cache for licenses.
'license' => [
'mode' => cache_store::MODE_APPLICATION,
'simplekeys' => false,
'simpledata' => false
'simplekeys' => true,
'simpledata' => false,
],
);