Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/frontend/wwwroot/task/task.js
Original file line number Diff line number Diff line change
Expand Up @@ -789,11 +789,7 @@
// Update the lastDataHash to the new hash
lastDataHash = newDataHash;

// Continue polling by calling fetchLoop again
setTimeout(
() => fetchLoop(id),
Number(sessionStorage.getItem("apiRefreshRate"))
);

} catch (error) {
console.error("Error in fetchLoop:", error);
}
Expand Down