From 19bab0ed741dc33b7607239f85461b6854d03695 Mon Sep 17 00:00:00 2001
From: poka <poka@p2p.legal>
Date: Sat, 9 Sep 2023 04:20:58 +0200
Subject: [PATCH] feat: increase COUNT_INTERVAL to 20

---
 src/anti_spam.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/anti_spam.rs b/src/anti_spam.rs
index 8a85814..08bf9a5 100644
--- a/src/anti_spam.rs
+++ b/src/anti_spam.rs
@@ -25,7 +25,7 @@ use std::{
 
 pub(super) const MAX_BATCH_SIZE: usize = 5;
 
-const COUNT_INTERVAL: usize = 10;
+const COUNT_INTERVAL: usize = 20;
 const MIN_DURATION_INTERVAL: Duration = Duration::from_secs(20);
 const LARGE_DURATION_INTERVAL: Duration = Duration::from_secs(180);
 const REDUCED_COUNT_INTERVAL: usize = COUNT_INTERVAL / 2;
-- 
GitLab