fix: honor signal refreshSec when caching signal reads

This commit is contained in:
LukeGus committed 2026-11-04 19:30:12 -06:00
1 parent 4aead47049
commit 2ee31ac9cc
3 files changed
+30 -1

No files matched your search

@@ -622,6 +622,7 @@ router.get("/signals", authenticateJWT, async (req, res) => {
userId: authReq.userId,
actionId: signal.read,
hostIds,
freshMs: signal.refreshSec ? signal.refreshSec * 1000 : undefined,
origin: originOf(authReq),
}),
});