Skip to content

Commit

Permalink
disable history config by default
Browse files Browse the repository at this point in the history
also, because of a commenting error, the "concurrency" section
ended up having the configuration meant for "concurrency_history"
  • Loading branch information
gramakri committed Nov 23, 2023
1 parent 5b57316 commit 46c914f
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions config/limit.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ max=3
; History: when enabled, the plugin is one which stores IP history. The history
; plugin results must have a positive integers for good connections negative
; integers for poor / undesirable connections. Karma is one such plugin.
plugin=karma
good=10
bad=1
none=2
; plugin=karma
; good=10
; bad=1
; none=2


; RECIPIENT LIMITS
Expand All @@ -34,12 +34,12 @@ none=2
; max_relaying=100


[recipients_history]
; [recipients_history]
; The same history notes for [concurrency] apply here.
plugin=karma
bad=1
none=5
good=50
; plugin=karma
; bad=1
; none=5
; good=50


; UNRECOGNIZED COMMAND LIMITS
Expand Down Expand Up @@ -67,11 +67,11 @@ max=10
default=5

; The history notes for [concurrency] apply here too.
[rate_conn_history]
plugin=karma
bad=1/15m
none=1/5m
good=15/1m
; [rate_conn_history]
; plugin=karma
; bad=1/15m
; none=1/5m
; good=15/1m


; RECIPIENT RATE LIMITS by HOST
Expand Down

0 comments on commit 46c914f

Please sign in to comment.