fix(ui): Defer pollBuild execution until DOM is loaded
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run
This commit is contained in:
parent
b2641dc344
commit
ea9fadb3e0
|
|
@ -794,8 +794,10 @@ async function pollBuild(){
|
|||
return null
|
||||
}
|
||||
}
|
||||
pollBuild()
|
||||
setInterval(pollBuild,30000)
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
pollBuild()
|
||||
setInterval(pollBuild,30000)
|
||||
})
|
||||
|
||||
// ─── Fix 3: CostGuard — fetchWithTimeout helper (AbortController, 10s) ───
|
||||
function fetchWithTimeout(url, ms=10000){
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user