Fix: use seconds for PBS since (#6583)
Docker CI / Docker Build & Push (push) Has been cancelled
Lint / Linting Checks (push) Has been cancelled
Release Drafter / Update Release Draft (push) Has been cancelled
Release Drafter / Auto Label PR (push) Has been cancelled
Tests / vitest (1) (push) Has been cancelled
Tests / vitest (2) (push) Has been cancelled
Tests / vitest (3) (push) Has been cancelled
Tests / vitest (4) (push) Has been cancelled

This commit is contained in:
shamoon
2026-04-19 07:53:25 -07:00
committed by GitHub
parent 10ade1d32f
commit 8322dd9016
3 changed files with 26 additions and 4 deletions
+1 -3
View File
@@ -1,7 +1,5 @@
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const since = Date.now() - 24 * 60 * 60 * 1000;
const widget = {
api: "{url}/api2/json/{endpoint}",
proxyHandler: credentialedProxyHandler,
@@ -11,7 +9,7 @@ const widget = {
endpoint: "status/datastore-usage",
},
"nodes/localhost/tasks": {
endpoint: `nodes/localhost/tasks?errors=true&limit=100&since=${since}`,
endpoint: "nodes/localhost/tasks",
},
"nodes/localhost/status": {
endpoint: "nodes/localhost/status",