3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 15:45:03 +00:00

Fix username history cleanup startup delay

This commit is contained in:
Dragory 2020-06-02 00:55:49 +03:00
parent bbf4955f6c
commit 1b083b82c0

View file

@ -15,7 +15,7 @@ if (!isAPI()) {
} }
// Start first cleanup 30 seconds after startup // Start first cleanup 30 seconds after startup
setTimeout(cleanup, 1 * SECONDS); setTimeout(cleanup, 30 * SECONDS);
} }
export const MAX_USERNAME_ENTRIES_PER_USER = 5; export const MAX_USERNAME_ENTRIES_PER_USER = 5;