diff --git a/src/frontend/wwwroot/task/task.js b/src/frontend/wwwroot/task/task.js index 3722298c1..f7203ce29 100644 --- a/src/frontend/wwwroot/task/task.js +++ b/src/frontend/wwwroot/task/task.js @@ -788,11 +788,7 @@ // Update the lastDataHash to the new hash lastDataHash = newDataHash; - // Continue polling by calling fetchLoop again - setTimeout( - () => fetchLoop(id), - Number(getStoredData("apiRefreshRate")) - ); + } catch (error) { console.error("Error in fetchLoop:", error); }