From 817ee3158e5b449446e591e31fcd9a13683edc83 Mon Sep 17 00:00:00 2001 From: Jesse Selover Date: Wed, 8 May 2024 02:51:15 -0700 Subject: [PATCH] Lower maximum interval to 1 minute. --- src/ui/unavailable-modal-ui-handler.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/unavailable-modal-ui-handler.ts b/src/ui/unavailable-modal-ui-handler.ts index d9678a67f..137469a0d 100644 --- a/src/ui/unavailable-modal-ui-handler.ts +++ b/src/ui/unavailable-modal-ui-handler.ts @@ -55,8 +55,8 @@ export default class UnavailableModalUiHandler extends ModalUiHandler { else { clearInterval(this.reconnectTimer); this.reconnectInterval *= 2; - if (this.reconnectInterval >= 300000) { - this.reconnectInterval = 300000; // 300 seconds (5 minutes) maximum delay. + if (this.reconnectInterval >= 60000) { + this.reconnectInterval = 60000; // 1 minute maximum delay. } this.reconnectTimer = setInterval(this.tryReconnect, this.reconnectInterval); }