Skip to content
Snippets Groups Projects
Commit 19bab0ed authored by poka's avatar poka
Browse files

feat: increase COUNT_INTERVAL to 20

parent 7719d3db
No related tags found
1 merge request!6Increase values of antispam
Pipeline #33221 failed
...@@ -25,7 +25,7 @@ use std::{ ...@@ -25,7 +25,7 @@ use std::{
pub(super) const MAX_BATCH_SIZE: usize = 5; 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 MIN_DURATION_INTERVAL: Duration = Duration::from_secs(20);
const LARGE_DURATION_INTERVAL: Duration = Duration::from_secs(180); const LARGE_DURATION_INTERVAL: Duration = Duration::from_secs(180);
const REDUCED_COUNT_INTERVAL: usize = COUNT_INTERVAL / 2; const REDUCED_COUNT_INTERVAL: usize = COUNT_INTERVAL / 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment