Don't force commandTimeout in redis based caches (#10773)

This commit is contained in:
Rijk van Zanten
2021-12-30 15:32:05 -05:00
committed by GitHub
parent 8a95b0b90c
commit d84134c8a6

View File

@@ -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') {