From 54dfa8af3b9955640d2876bc7b5cb0a7ece7c828 Mon Sep 17 00:00:00 2001 From: Antz Date: Sat, 11 Feb 2017 20:28:21 +0000 Subject: [PATCH] Add protection for New Thread pool reactor settings from conf YOU WILL NEED to update your existing .conf files --- src/mangosd/mangosd.conf.dist.in | 9 +++++---- src/shared/SystemConfig.h.in | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/mangosd/mangosd.conf.dist.in b/src/mangosd/mangosd.conf.dist.in index 3df975c4..8730c7dc 100644 --- a/src/mangosd/mangosd.conf.dist.in +++ b/src/mangosd/mangosd.conf.dist.in @@ -3,7 +3,7 @@ ################################################################################ [MangosdConf] -ConfVersion=2017011200 +ConfVersion=2017021100 ################################################################################ # CONNECTIONS AND DIRECTORIES @@ -1536,8 +1536,9 @@ OutdoorPvp.EPEnabled = 1 # NETWORK CONFIG # # Network.Threads -# Number of threads for network, recommend 1 thread per 1000 connections. -# Default: 1 +# Number of threads for network queue handling, we recommend a minimum of 3, +# additional threads will assist with greater numbers of players. +# Default: 3 # # Network.OutKBuff # The size of the output kernel buffer used ( SO_SNDBUF socket option, tcp manual ). @@ -1559,7 +1560,7 @@ OutdoorPvp.EPEnabled = 1 # ################################################################################ -Network.Threads = 1 +Network.Threads = 3 Network.OutKBuff = -1 Network.OutUBuff = 65536 Network.TcpNodelay = 1 diff --git a/src/shared/SystemConfig.h.in b/src/shared/SystemConfig.h.in index 250dae57..2b77a71d 100644 --- a/src/shared/SystemConfig.h.in +++ b/src/shared/SystemConfig.h.in @@ -42,7 +42,7 @@ // Format is YYYYMMDDRR where RR is the change in the conf file // for that day. #ifndef MANGOSD_CONFIG_VERSION -# define MANGOSD_CONFIG_VERSION 2017011200 +# define MANGOSD_CONFIG_VERSION 2017021100 #endif #ifndef REALMD_CONFIG_VERSION # define REALMD_CONFIG_VERSION 2010062001