mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-09-11 12:55:37 +03:00
Added retryStrategy to redis cache adapter with configurable retry delay
no-issue
This commit is contained in:
parent
8fc6fef168
commit
8c55aa7065
@ -43,6 +43,9 @@ class AdapterCacheRedis extends BaseCacheAdapter {
|
||||
port: config.port,
|
||||
username: config.username,
|
||||
password: config.password,
|
||||
retryStrategy: () => {
|
||||
return (config.storeConfig.retryConnectSeconds || 10) * 1000;
|
||||
},
|
||||
...config.storeConfig,
|
||||
clusterConfig: config.clusterConfig
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user