15 мин
This commit is contained in:
@@ -6,7 +6,7 @@ class EmailNotifications {
|
|||||||
this.transporter = null;
|
this.transporter = null;
|
||||||
this.initialized = false;
|
this.initialized = false;
|
||||||
this.notificationCooldown = 12 * 60 * 60 * 1000; // 12 часов в миллисекундах
|
this.notificationCooldown = 12 * 60 * 60 * 1000; // 12 часов в миллисекундах
|
||||||
this.spamBlockCooldown = 60 * 60 * 1000; // 60 минут при блокировке спама
|
this.spamBlockCooldown = 15 * 60 * 1000; // 60 минут при блокировке спама
|
||||||
this.spamBlockedUntil = null;
|
this.spamBlockedUntil = null;
|
||||||
this.isSpamBlocked = false;
|
this.isSpamBlocked = false;
|
||||||
this.maxRetries = 3;
|
this.maxRetries = 3;
|
||||||
|
|||||||
Reference in New Issue
Block a user