mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
QueryMaster Timeout Change
- increase timeout from 10 to 30 seconds.
This commit is contained in:
parent
847868f3a6
commit
c223abf541
4 changed files with 32 additions and 104 deletions
|
|
@ -2841,7 +2841,7 @@ namespace ServerManagerTool.Lib
|
|||
LogProfileMessage($"Creating RCON connection to server ({_profile.ServerIPAddress}:{_profile.RCONPort}).", false);
|
||||
|
||||
var endPoint = new IPEndPoint(_profile.ServerIPAddress, _profile.RCONPort);
|
||||
var server = QueryMaster.ServerQuery.GetServerInstance(QueryMaster.EngineType.Source, endPoint, sendTimeOut: 10000, receiveTimeOut: 10000);
|
||||
var server = QueryMaster.ServerQuery.GetServerInstance(QueryMaster.EngineType.Source, endPoint, sendTimeOut: 30000, receiveTimeOut: 30000);
|
||||
if (server == null)
|
||||
{
|
||||
LogProfileDebug($"FAILED: {nameof(SetupRconConsole)} - ServerQuery could not be created.", false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue