comms: prune stale guests after 14 days
This commit is contained in:
parent
1293ffe0a5
commit
f9830c6678
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user