mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-11-06 02:25:24 +00:00
fix: honor signal refreshSec when caching signal reads
This commit is contained in:
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),
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user