From 60a062260bad218fe8ea736200809189ab4fe204 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Fri, 25 Oct 2024 18:48:46 +0200 Subject: statusbot: Tune retry multiplier for well-known fetch loop --- modules/statusbot/statusbot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/statusbot/statusbot.js') 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) => { -- cgit v1.2.3-70-g09d2