mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-10 20:35:02 +00:00
Add missing dependency to mutes plugin & fix timeout expiry (#430)
* +debug
Signed-off-by: GitHub <noreply@github.com>
* Revert "+debug"
This reverts commit 83daee09d9
.
* add missing dependency to mutes
Signed-off-by: GitHub <noreply@github.com>
* lower max timeout duration
Signed-off-by: GitHub <noreply@github.com>
---------
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
00fb71f26d
commit
d162418be5
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue