-
-
Notifications
You must be signed in to change notification settings - Fork 500
Closed
Description
in Tasks.tsx it calls checkJobs();
every ten seconds using setInterval. (aside: normally we should use useSWR's built in refresh capabilities to refresh a list). But then in that loop it goes through every task one by one. So if you have 50 jobs, it is calling "checkstatus" so many times per second. And most of these jobs are complete.
The code says it only checks // Check each LAUNCHING and recently completed REMOTE job individually via provider endpoints
But my network panel is filled with check job requests see screenshot

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels