Skip to content

Commit 7355efe

Browse files
Merge pull request #93 from microsoft/PSL-BUG-15001
fix: After pausing the task, task status changes to in-progress automatically
2 parents 76f1d99 + 71972f8 commit 7355efe

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Diff for: src/frontend/wwwroot/task/task.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -788,11 +788,7 @@
788788
// Update the lastDataHash to the new hash
789789
lastDataHash = newDataHash;
790790

791-
// Continue polling by calling fetchLoop again
792-
setTimeout(
793-
() => fetchLoop(id),
794-
Number(getStoredData("apiRefreshRate"))
795-
);
791+
796792
} catch (error) {
797793
console.error("Error in fetchLoop:", error);
798794
}

0 commit comments

Comments
 (0)