diff options
author | Tom Smeding <tom@tomsmeding.com> | 2024-10-25 18:48:46 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2024-10-25 18:48:46 +0200 |
commit | 60a062260bad218fe8ea736200809189ab4fe204 (patch) | |
tree | ab563beb1d850ed4cf5cbb4678e1c6a57eec5084 /modules/statusbot | |
parent | 66b19013380f9dde2eb91b09a84dc7a271da3ac4 (diff) |
statusbot: Tune retry multiplier for well-known fetch loop
Diffstat (limited to 'modules/statusbot')
-rw-r--r-- | modules/statusbot/statusbot.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/statusbot/statusbot.js b/modules/statusbot/statusbot.js index eb554e6..665bfeb 100644 --- a/modules/statusbot/statusbot.js +++ b/modules/statusbot/statusbot.js @@ -156,7 +156,7 @@ function augmentConfig(config, cb) { } // wait a bit with requesting this in case the homeserver in question is the same server as us - pretry(500, 1.2, 10, + pretry(500, 1.4, 10, cb => { console.log("statusbot: Attempting to get matrix server info"); fetch("GET", {}, home_server, "/.well-known/matrix/server", "", (status, body) => { |