mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Change default streak window to 36 hours
This commit is contained in:
parent
46558a97e4
commit
ea8ef09045
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ class Conf {
|
||||||
};
|
};
|
||||||
/** Maximum time between events before a streak is broken, *in seconds*. */
|
/** Maximum time between events before a streak is broken, *in seconds*. */
|
||||||
static get streakWindow(): number {
|
static get streakWindow(): number {
|
||||||
return Number(Deno.env.get('STREAK_WINDOW') || 86400);
|
return Number(Deno.env.get('STREAK_WINDOW') || 129600);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue