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

automod: delete obsolete constant; bump recent action expiry time to 5 minutes

This commit is contained in:
Dragory 2020-01-28 22:18:12 +02:00
parent 7cb485b798
commit 5d49a3b5eb
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -165,8 +165,7 @@ interface ICustomOverrides {
*/
const RECENT_SPAM_EXPIRY_TIME = 30 * SECONDS;
const RECENT_ACTION_EXPIRY_TIME = 2 * MINUTES;
const MAX_RECENTLY_DELETED_MESSAGES = 10;
const RECENT_ACTION_EXPIRY_TIME = 5 * MINUTES;
const RECENT_NICKNAME_CHANGE_EXPIRY_TIME = 5 * MINUTES;
const inviteCache = new SimpleCache(10 * MINUTES);