Skip to content

Commit

Permalink
more aggressive ban params
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Feb 17, 2020
1 parent 4136e58 commit db9bf19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ func main() {
allActivityTerm := events.Terminator{
BanDuration: time.Minute * 10,
BanPenalty: 5,
AllowedPeriod: time.Second * 5,
AllowedPeriod: time.Second * 60,
Exclude: opts.SuperUsers,
}

botsActivityTerm := events.Terminator{
BanDuration: time.Minute * 5,
BanPenalty: 4,
AllowedPeriod: time.Second * 30,
BanPenalty: 3,
AllowedPeriod: time.Second * 60,
Exclude: opts.SuperUsers,
}

Expand Down

0 comments on commit db9bf19

Please sign in to comment.