From 9dc1e8ed17a33794520f8f2419ea3b42e1eb5f94 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 6 Oct 2023 09:26:30 -0700 Subject: [PATCH] =?UTF-8?q?sent=5Fmessages:=20Finish=20.received=20?= =?UTF-8?q?=E2=86=92=20.saw=5Fevent=20rename.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 3cc2adcd3bd894f8ad8e42ea475d908594c07d54 (#25423) missed this in the rename, resulting in extra creation of no-op timers. Signed-off-by: Anders Kaseorg --- web/src/sent_messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/sent_messages.js b/web/src/sent_messages.js index 50fc65affe..be4f714fec 100644 --- a/web/src/sent_messages.js +++ b/web/src/sent_messages.js @@ -70,7 +70,7 @@ export class MessageState { // or took a while to process it, but there is nothing // wrong with our event loop. - if (!this.received) { + if (!this.saw_event) { setTimeout(() => this.maybe_restart_event_loop(), 5000); } }