iOS 1.0 RC 1: battery and heat work, version label, web player redraw tweaks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0fc35b13e8
commit
c0e33b5e3e
18 files changed
+143
-36
No files matched your search
@@ -87,6 +87,8 @@ export const Live = {
|
||||
get busy() { return !!this.current || this.pending.size > 0; },
|
||||
async poll() {
|
||||
clearTimeout(this.timer);
|
||||
// Hidden tabs don't poll; coming back calls poll() again.
|
||||
if (document.hidden) return;
|
||||
try {
|
||||
const r = await fetch(api("/api/queue"), { cache: "no-store", signal: AbortSignal.timeout(8000) });
|
||||
if (r.ok) {
|
||||
|
||||
Reference in new issue
Block a user