From f9830c6678027aff925f8f9e32dbc1c6e2c293c1 Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Sat, 17 Jan 2026 17:30:07 -0300 Subject: [PATCH] comms: prune stale guests after 14 days --- services/comms/guest-name-job.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/services/comms/guest-name-job.yaml b/services/comms/guest-name-job.yaml index 142dc73..bae2d49 100644 --- a/services/comms/guest-name-job.yaml +++ b/services/comms/guest-name-job.yaml @@ -123,7 +123,7 @@ spec: SEEDER_USER = os.environ["SEEDER_USER"] ROOM_ALIAS = "#othrys:live.bstein.dev" SERVER_NAME = "live.bstein.dev" - STALE_GUEST_MS = 7 * 24 * 60 * 60 * 1000 + STALE_GUEST_MS = 14 * 24 * 60 * 60 * 1000 def mas_admin_token(): with open(MAS_ADMIN_CLIENT_SECRET_FILE, "r", encoding="utf-8") as f: @@ -466,4 +466,3 @@ spec: finally: mas_revoke_session(admin_token, seeder_session) PY -