aboutsummaryrefslogtreecommitdiffstats
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 6d4b41382..74b8e98e1 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -251,17 +251,6 @@ void ServerConfig::CrossCheckConnectBlocks(ServerConfig* current)
me->registration_timeout = tag->getDuration("timeout", me->registration_timeout);
me->pingtime = tag->getDuration("pingfreq", me->pingtime);
- std::string sendq;
- if (tag->readString("sendq", sendq))
- {
- // attempt to guess a good hard/soft sendq from a single value
- unsigned long value = strtoul(sendq.c_str(), NULL, 10);
- if (value > 16384)
- me->softsendqmax = value / 16;
- else
- me->softsendqmax = value;
- me->hardsendqmax = value * 8;
- }
me->softsendqmax = tag->getUInt("softsendq", me->softsendqmax, ServerInstance->Config->Limits.MaxLine);
me->hardsendqmax = tag->getUInt("hardsendq", me->hardsendqmax, ServerInstance->Config->Limits.MaxLine);
me->recvqmax = tag->getUInt("recvq", me->recvqmax, ServerInstance->Config->Limits.MaxLine);