GetPing AutoTimeout timeout delay change.

Increase the time of the fast srvrecord setting from 5 to 10 seconds. As of now the method gets timed out before actually completing/attempting the Protocol18 DoPing.
This commit is contained in:
Barnehhh 2018-05-25 13:47:08 -04:00 committed by ORelio
parent ecf0114f62
commit 35058327d0

View file

@ -81,7 +81,7 @@ namespace MinecraftClient.Protocol
{ {
ConsoleIO.WriteLineFormatted(String.Format("§8{0}: {1}", e.GetType().FullName, e.Message)); ConsoleIO.WriteLineFormatted(String.Format("§8{0}: {1}", e.GetType().FullName, e.Message));
} }
}, TimeSpan.FromSeconds(Settings.ResolveSrvRecordsShortTimeout ? 5 : 30))) }, TimeSpan.FromSeconds(Settings.ResolveSrvRecordsShortTimeout ? 10 : 30)))
{ {
protocolversion = protocolversionTmp; protocolversion = protocolversionTmp;
forgeInfo = forgeInfoTmp; forgeInfo = forgeInfoTmp;