From 377692f6bb5bde06d6af5159ceae4852a762bb35 Mon Sep 17 00:00:00 2001 From: Tiago R Date: Sun, 26 Nov 2023 11:36:43 +0000 Subject: [PATCH] lower max timeout duration Signed-off-by: GitHub --- backend/src/data/Mutes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/data/Mutes.ts b/backend/src/data/Mutes.ts index ec7f11ccd..ad50dcee4 100644 --- a/backend/src/data/Mutes.ts +++ b/backend/src/data/Mutes.ts @@ -8,7 +8,7 @@ import { Mute } from "./entities/Mute"; const OLD_EXPIRED_MUTE_THRESHOLD = 7 * DAYS; -export const MAX_TIMEOUT_DURATION = 28 * DAYS; +export const MAX_TIMEOUT_DURATION = 27 * DAYS; // When a timeout is under this duration but the mute expires later, the timeout will be reset to max duration export const TIMEOUT_RENEWAL_THRESHOLD = 21 * DAYS;