-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Description
Hello!
currently i have set this at confg/doctrine.php
'cache' => [
'default' => env('DOCTRINE_CACHE', 'redis'),
'namespace' => null,
'second_level' => [
'enabled' => true,
'region_lifetime' => 3600,
'region_lock_lifetime' => 60,
'regions' => [
],
'log_enabled' => true,
'file_lock_region_directory' => '/tmp'
],
'metadata' => [
'driver' => env('DOCTRINE_METADATA_CACHE', env('DOCTRINE_CACHE', 'redis')),
'namespace' => 'meta',
'store' => env('DOCTRINE_QUERY_CACHE_STORE', 'doctrine_redis'),
'lifetime' => 7200, // 1 hour
],
'query' => [
'driver' => env('DOCTRINE_QUERY_CACHE', env('DOCTRINE_CACHE', 'redis')),
'namespace' => 'qry',
'store' => env('DOCTRINE_QUERY_CACHE_STORE', 'doctrine_redis'),
'lifetime' => 3600, // 1 hour
],
'result' => [
'driver' => env('DOCTRINE_RESULT_CACHE', env('DOCTRINE_CACHE', 'redis')),
'namespace' => 'res',
'store' => env('DOCTRINE_QUERY_CACHE_STORE', 'doctrine_redis'),
'lifetime' => 3600, // 1 hour
],
],
for metadata i set i up a custom store
but looking a the code here
$store = $this->store ?? $settings['store'] ?? null; |
its being overrided by
protected string|null $store = 'redis'; |
so my 'store' setting is not honored
any way to overload he behavior of RedisCacheProvider ?
kind regards
Seba
Metadata
Metadata
Assignees
Labels
No labels