mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Don't force commandTimeout in redis based caches (#10773)
This commit is contained in:
@@ -54,9 +54,7 @@ function getConfig(
|
||||
if (store === 'redis') {
|
||||
const KeyvRedis = require('@keyv/redis');
|
||||
|
||||
config.store = new KeyvRedis(env.CACHE_REDIS || getConfigFromEnv('CACHE_REDIS_'), {
|
||||
commandTimeout: 500,
|
||||
});
|
||||
config.store = new KeyvRedis(env.CACHE_REDIS || getConfigFromEnv('CACHE_REDIS_'));
|
||||
}
|
||||
|
||||
if (store === 'memcache') {
|
||||
|
||||
Reference in New Issue
Block a user