]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Raise <connflood:bootwait> from 10 seconds to 2 minutes.
authorPeter Powell <petpow@saberuk.com>
Thu, 24 Oct 2019 14:22:46 +0000 (15:22 +0100)
committerPeter Powell <petpow@saberuk.com>
Thu, 24 Oct 2019 14:56:21 +0000 (15:56 +0100)
Many clients don't reconnect automatically and it can take a while
for them to reconnect.

docs/conf/modules.conf.example
src/modules/m_connflood.cpp

index 9cbf116cf3b187d64af9eefad607ca53a5dea14e..639f023359010109a68726f782932dbc26d7db7b 100644 (file)
 #                       the throttling when the server just booted.
 #
 #<connflood period="30" maxconns="3" timeout="30"
-#   quitmsg="Throttled" bootwait="10">
+#   quitmsg="Throttled" bootwait="2m">
 
 #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
 # Custom prefixes: Allows for channel prefixes to be configured.
index 5070dd3a76b26e6e629f71b4415451e104c43ca3..78271b5a17d76683f14b99125497f3e94aaf34ed 100644 (file)
@@ -54,7 +54,7 @@ public:
                quitmsg = tag->getString("quitmsg");
 
                /* seconds to wait when the server just booted */
-               boot_wait = tag->getDuration("bootwait", 10);
+               boot_wait = tag->getDuration("bootwait", 60*2);
 
                first = ServerInstance->Time();
        }