fix: update response wait timer

This commit is contained in:
2026-09-07 01:57:01 +05:00
parent cf467d748d
commit fc1308e27e
+2 -1
View File
@@ -112,6 +112,7 @@ const base = import.meta.env.BASE_URL.replace(/\/+$/, "");
AUTHOR, AUTHOR,
EVENTS, EVENTS,
CREATED, CREATED,
CREATED_MS,
LAST_AUTHOR_MS, LAST_AUTHOR_MS,
LAST_AUTHOR_EVENT, LAST_AUTHOR_EVENT,
fmtClock, fmtClock,
@@ -152,7 +153,7 @@ const base = import.meta.env.BASE_URL.replace(/\/+$/, "");
const responseWait = document.querySelector<HTMLElement>("#metric-response-wait"); const responseWait = document.querySelector<HTMLElement>("#metric-response-wait");
if (elapsed) elapsed.textContent = fmtElapsed(now); if (elapsed) elapsed.textContent = fmtElapsed(now);
if (lastActivity) lastActivity.textContent = fmtDaysHours(now, LAST_AUTHOR_MS); if (lastActivity) lastActivity.textContent = fmtDaysHours(now, LAST_AUTHOR_MS);
if (responseWait) responseWait.textContent = fmtDaysHours(now, LAST_AUTHOR_MS); if (responseWait) responseWait.textContent = fmtDaysHours(now, CREATED_MS);
} }
function tick(): void { function tick(): void {