[backport/1.4] Improve frontend 2: Deduplicate /status requests - #4064
[backport/1.4] Improve frontend 2: Deduplicate /status requests#4064joaoantoniocardoso wants to merge 1 commit into
Conversation
Every back_axios call used to hit /status first, which piled up under normal polling. Cache a recent online result for 3s (same as BackendStatusChecker) and share one in-progress check so we only actually request when the cache is stale.
Automated PR Review0. Summary
Backport of #4026 into No further comments, nice job 👍 Generated by PR Review Bot. This is advisory, a human reviewer must still approve. |
This is a backport of #4026 into 1.4.