Add protection for New Thread pool reactor settings from conf

YOU WILL NEED to update your existing .conf files
This commit is contained in:
Antz 2017-02-11 20:28:21 +00:00
parent 39b058e58d
commit 54dfa8af3b
2 changed files with 6 additions and 5 deletions

View File

@ -3,7 +3,7 @@
################################################################################ ################################################################################
[MangosdConf] [MangosdConf]
ConfVersion=2017011200 ConfVersion=2017021100
################################################################################ ################################################################################
# CONNECTIONS AND DIRECTORIES # CONNECTIONS AND DIRECTORIES
@ -1536,8 +1536,9 @@ OutdoorPvp.EPEnabled = 1
# NETWORK CONFIG # NETWORK CONFIG
# #
# Network.Threads # Network.Threads
# Number of threads for network, recommend 1 thread per 1000 connections. # Number of threads for network queue handling, we recommend a minimum of 3,
# Default: 1 # additional threads will assist with greater numbers of players.
# Default: 3
# #
# Network.OutKBuff # Network.OutKBuff
# The size of the output kernel buffer used ( SO_SNDBUF socket option, tcp manual ). # 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.OutKBuff = -1
Network.OutUBuff = 65536 Network.OutUBuff = 65536
Network.TcpNodelay = 1 Network.TcpNodelay = 1

View File

@ -42,7 +42,7 @@
// Format is YYYYMMDDRR where RR is the change in the conf file // Format is YYYYMMDDRR where RR is the change in the conf file
// for that day. // for that day.
#ifndef MANGOSD_CONFIG_VERSION #ifndef MANGOSD_CONFIG_VERSION
# define MANGOSD_CONFIG_VERSION 2017011200 # define MANGOSD_CONFIG_VERSION 2017021100
#endif #endif
#ifndef REALMD_CONFIG_VERSION #ifndef REALMD_CONFIG_VERSION
# define REALMD_CONFIG_VERSION 2010062001 # define REALMD_CONFIG_VERSION 2010062001