Proper client timeout detection

Port From (https://github.com/TrinityCore/TrinityCore/commit/2c3fc47a96baa8a47130befda647bf29d8eacce1)
This commit is contained in:
hondacrx
2020-07-24 17:48:02 -04:00
parent 5cc8c0dadf
commit 7bb86f94c5
6 changed files with 31 additions and 10 deletions
+9
View File
@@ -315,6 +315,15 @@ InstanceMapLoadAllGrids = 0
SocketTimeOutTime = 900000
#
# SocketTimeOutTimeActive
# Description: Time (in milliseconds) after which an idle connection is dropped while
# logged into the world.
# The client sends keepalive packets every 30 seconds. Values <= 30s are not recommended.
# Default: 60000 - (1 minute)
SocketTimeOutTimeActive = 60000
#
# SessionAddDelay
# Description: Time (in microseconds) that a network thread will sleep after authentication