Only use redis timeout when db not under load

This commit is contained in:
Ajay
2024-01-18 09:22:00 -05:00
parent d607d8b179
commit c9f7275942
6 changed files with 15 additions and 2 deletions

View File

@@ -83,7 +83,8 @@ addDefaults(config, {
maxTries: 3,
maxActiveRequests: 0,
timeout: 60000,
highLoadThreshold: 10
highLoadThreshold: 10,
redisTimeoutThreshold: 1000
},
postgresReadOnly: {
enabled: false,