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 // 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;