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

Fix username history cleanup startup delay

This commit is contained in:
Dragory 2020-06-02 00:55:49 +03:00
parent 8c9f9dc42f
commit 59918858ec
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

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