Verified Commit eab62d8f authored by aguestuser's avatar aguestuser

[340] shorten healthcheck interval from 15 to 10 min

(since we won't get alerted until 2nd failure)
parent 76f12378
Pipeline #46103 passed with stage
in 1 minute and 7 seconds
const defaults = {
healthcheckInterval: 1000 * 60 * 15, // 15 min
healthcheckInterval: 1000 * 60 * 10, // 10 min
hotlineMessageExpiryInMillis: 1000 * 60 * 60 * 24 * 28, // 4 weeks
inviteDeletionInterval: 1000 * 60 * 60, // 1 hour
inviteExpiryInMillis: 1000 * 60 * 60 * 24 * 14, // 2 weeks
......
......@@ -4,8 +4,8 @@ const defaults = {
broadcastSpacing: 100, // 100 millis
defaultMessageExpiryTime: 60 * 60 * 24 * 7, // 1 week
expiryUpdateDelay: 200, // 200 millis
healthcheckTimeout: 1000 * 60 * 15, // 15 min
healtcheckSpacing: 100, // 100 millis
healthcheckTimeout: 1000 * 60 * 10, // 10 min
healthcheckSpacing: 50, // 50 millis
intervalBetweenRegistrationBatches: 120000, // 2 minutes
intervalBetweenRegistrations: 2000, // 2 seconds
keystorePath: '/var/lib/signald/data', // given by docker-compose file(s)
......@@ -27,7 +27,8 @@ const test = {
broadcastBatchInterval: 10, // 10 millis
broadcastBatchSize: 1,
expiryUpdateDelay: 1, // millis
healthcheckTimeout: 30, // millis
healthcheckTimeout: 20, // millis
healthcheckSpacing: 1, // millis
intervalBetweenRegistrationBatches: 30, // millis
intervalBetweenRegistrations: 5, // millis,
maxResendInterval: 256, // ~ 2.5 sec,
......@@ -44,7 +45,7 @@ const test = {
const development = {
...defaults,
healthcheckTimeout: 1000 * 60, // 60 sec
healthcheckTimeout: 1000 * 30, // 30 sec
}
module.exports = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment