Skip to content

Commit

Permalink
lower max timeout duration
Browse files Browse the repository at this point in the history
Signed-off-by: GitHub <[email protected]>
  • Loading branch information
metal0 authored Nov 26, 2023
1 parent 7879bb5 commit 377692f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/data/Mutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 377692f

Please sign in to comment.