Distributed caches are always mem caches #31787
Labels
1. to develop
Accepted and waiting to be taken care of
enhancement
feature: caching
Related to our caching system: scssCacher, jsCombiner...
integration
How to use GitHub
Is your feature request related to a problem? Please describe.
\OCP\ICacheFactory::createDistributed
returns a\OCP\ICache
. In practice the objects are always\OCP\IMemcache
, similar tocreateLocking
results.From a static analysis point of view you can't rely on that assumption.
Describe the solution you'd like
Finish #30072 so the interface returns a more specific type. This is not a backwards compatible change as any code that expected an
ICache
will still work.Describe alternatives you've considered
N/a
Additional context
N/a
The text was updated successfully, but these errors were encountered: