Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter-gva
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
modules
duniter-gva
Commits
19bab0ed
Commit
19bab0ed
authored
1 year ago
by
poka
Browse files
Options
Downloads
Patches
Plain Diff
feat: increase COUNT_INTERVAL to 20
parent
7719d3db
Branches
feat/1/increase-antispam-limits
No related tags found
1 merge request
!6
Increase values of antispam
Pipeline
#33221
failed
1 year ago
Stage: tests
Stage: quality
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/anti_spam.rs
+1
-1
1 addition, 1 deletion
src/anti_spam.rs
with
1 addition
and
1 deletion
src/anti_spam.rs
+
1
−
1
View file @
19bab0ed
...
@@ -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
=
1
0
;
const
COUNT_INTERVAL
:
usize
=
2
0
;
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment