feat : update
CI / Verify (push) Successful in 1m28s
CI / Build immutable images and deploy (push) Successful in 2m5s

This commit is contained in:
2026-09-05 18:15:06 +07:00 Unverified
parent e66b5a3a0d
commit 5aa0ae80c1
42 changed files with 4613 additions and 67 deletions
+10
View File
@@ -0,0 +1,10 @@
import { describe, expect, it } from "vitest";
import { PRESENCE_HEARTBEAT_MS, PRESENCE_TTL_MS } from "./presence-constants";
describe("presence timing", () => {
it("expires only after several missed heartbeats", () => {
expect(PRESENCE_HEARTBEAT_MS).toBe(15_000);
expect(PRESENCE_TTL_MS).toBeGreaterThanOrEqual(PRESENCE_HEARTBEAT_MS * 3);
});
});