Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
event_status: Avoid ever-increasing calls to start_status_polling.
Aman Agrawale2520da24de3
diff --git a/web/src/billing/event_status.ts b/web/src/billing/event_status.tsindex 102e3feb772..5ef9474d8fe 100644--- a/web/src/billing/event_status.ts+++ b/web/src/billing/event_status.ts@@ -142,6 +142,7 @@ async function start_status_polling(): Promise<void> {completed = await check_status();} catch {setTimeout(() => void start_status_polling(), 5000);+ return;}if (!completed) {setTimeout(() => void start_status_polling(), 5000);