Update workers.js

This commit is contained in:
DJObleezy 2025-03-29 20:31:35 -07:00 committed by GitHub
parent f4a4da4679
commit 495e272843
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -251,6 +251,12 @@ function fetchWorkerData(forceRefresh = false) {
});
}
// Refresh worker data every 60 seconds
setInterval(function () {
console.log("Refreshing worker data at " + new Date().toLocaleTimeString());
fetchWorkerData();
}, 60000);
// Update the worker grid with data
function updateWorkerGrid() {
console.log("Updating worker grid...");