Stop postgres retries when over a threshold

This commit is contained in:
Ajay
2022-10-26 22:58:35 -04:00
parent 13ae4681cb
commit 9e3d059d10
3 changed files with 5 additions and 2 deletions

View File

@@ -89,7 +89,8 @@ addDefaults(config, {
max: 10,
idleTimeoutMillis: 10000,
maxTries: 3,
fallbackOnFail: true
fallbackOnFail: true,
stopRetryThreshold: 800
},
dumpDatabase: {
enabled: false,