mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-24 23:04:00 +08:00
30 instead of 7 days
This commit is contained in:
parent
825d265d7d
commit
6f41db5575
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import Logger from "../utils/logger";
|
|||
import { getCachedConfiguration } from "../init/configuration";
|
||||
|
||||
const CRON_SCHEDULE = "0 0 0 * * *";
|
||||
const LOG_MAX_AGE_DAYS = 7;
|
||||
const LOG_MAX_AGE_DAYS = 30;
|
||||
const LOG_MAX_AGE_MILLISECONDS = LOG_MAX_AGE_DAYS * 24 * 60 * 60 * 1000;
|
||||
|
||||
async function deleteOldLogs(): Promise<void> {
|
||||
|
|
Loading…
Reference in a new issue