Skip to content

Commit ae9d8d7

Browse files
committed
add rate limit example to config.ini
1 parent b905c14 commit ae9d8d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bin/config_sample/config.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ message_floodguard=250
5252
; The minimum time between game messages in the server, in miliseconds. Unlike message_floodguard, this timer is shared globally in the server.
5353
global_message_floodguard=0
5454

55+
; If you send messages faster than this, you will be warned.
56+
packet_rate_limit_soft=10
57+
58+
; If you send messages faster than this, you will be disconnected.
59+
packet_rate_limit_hard=20
60+
5561
; The amount of seconds without interaction till a client is marked as AFK.
5662
afk_timeout = 300
5763

0 commit comments

Comments
 (0)