From: Alexander van Gessel Date: Wed, 15 May 2013 12:50:45 +0000 (+0200) Subject: Increase anti-flood-delay from 0.5 to 1 second. X-Git-Tag: 1.20~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=28da246acb65981b514931684b1ceed627abca1c;p=irker.git Increase anti-flood-delay from 0.5 to 1 second. With a delay of 0.5 seconds, freenode starts dropping messages bunched in large groups after about 18 of them. Signed-off-by: Eric S. Raymond --- diff --git a/irkerd b/irkerd index 391ff36..bbdfb87 100755 --- a/irkerd +++ b/irkerd @@ -38,7 +38,7 @@ CHANNEL_TTL = (3 * 60 * 60) # Time to live, seconds from last transmit DISCONNECT_TTL = (24 * 60 * 60) # Time to live, seconds from last connect UNSEEN_TTL = 60 # Time to live, seconds since first request CHANNEL_MAX = 18 # Max channels open per socket (default) -ANTI_FLOOD_DELAY = 0.5 # Anti-flood delay after transmissions, seconds +ANTI_FLOOD_DELAY = 1.0 # Anti-flood delay after transmissions, seconds ANTI_BUZZ_DELAY = 0.09 # Anti-buzz delay after queue-empty check CONNECTION_MAX = 200 # To avoid hitting a thread limit