summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-12 00:08:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-12 00:08:45 +0000
commit22bffd438b22c1fa54dd376f2b204ed980e0e942 (patch)
tree8bccb4af5305e0f752be5698c53fdab40b2a2b20
parent16934ea87517d1b45419cadf2376a7da11a69b27 (diff)
Updated default sendq size to 256k
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1363 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--docs/inspircd.conf.example2
-rw-r--r--src/inspircd.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index c304cd5ce..6b4c03f8f 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -135,7 +135,7 @@
# #
<connect allow="196.12.*" password="secret">
-<connect allow="*" timeout="60" flood="10" timeout="60" pingfreq="120" sendq="131072">
+<connect allow="*" timeout="60" flood="10" timeout="60" pingfreq="120" sendq="262144">
<connect deny="69.254.*">
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 714ab6a8a..a4e9b1934 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -475,7 +475,7 @@ void ReadConfig(bool bail, userrec* user)
c.pingtime = 120;
c.flood = atoi(flood);
c.threshold = 5;
- c.sendqmax = 131072;
+ c.sendqmax = 262144; // 256k
if (atoi(thold)>0)
{
c.threshold = atoi(thold);
@@ -2539,7 +2539,7 @@ void AddClient(int socket, char* host, int port, bool iscached, char* ip)
unsigned long class_regtimeout = 90;
int class_flood = 0;
long class_threshold = 5;
- long class_sqmax = 131072; // 128kb
+ long class_sqmax = 262144; // 256kb
for (ClassVector::iterator i = Classes.begin(); i != Classes.end(); i++)
{