aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander van Gessel <ai0867@gmail.com>2013-05-15 14:50:45 +0200
committerEric S. Raymond <esr@thyrsus.com>2013-05-15 08:53:52 -0400
commit28da246acb65981b514931684b1ceed627abca1c (patch)
tree5abc25dc35207c46a9bdd477e48923e77338fb78
parentVersion bump for 1.9 release. (diff)
downloadirker-28da246acb65981b514931684b1ceed627abca1c.tar.xz
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 <esr@thyrsus.com>
-rwxr-xr-xirkerd2
1 files changed, 1 insertions, 1 deletions
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