mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
We have observed infrequent storms of accesses (tens of thousands of requests to minute) to `/` after an event queue expires. The current best theory is that the act of reloading the page itself triggers a focus event, which itself triggers a reload before the prior one had had time to do anything but send the network request. Since the `focus` event here is merely as a backstop in case the synchronous reloading and deferred reloading fail, we need only run it once.
13 KiB
13 KiB