From 22bffd438b22c1fa54dd376f2b204ed980e0e942 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 12 May 2005 00:08:45 +0000 Subject: Updated default sendq size to 256k git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1363 e03df62e-2008-0410-955e-edbf42e46eb7 --- docs/inspircd.conf.example | 2 +- src/inspircd.cpp | 4 ++-- 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 @@ # # - + 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++) { -- cgit v1.2.3