mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Use short SRV resolving timeout
By default, lower SRV resolve timeout from 30 seconds to 5 seconds Should help people facing SRV issues, see #213 Timeout can be set to 30 seconds in settings.
This commit is contained in:
parent
1096170d7f
commit
8ec2b2e570
2 changed files with 16 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ namespace MinecraftClient.Protocol
|
|||
{
|
||||
ConsoleIO.WriteLineFormatted(String.Format("§8{0}: {1}", e.GetType().FullName, e.Message));
|
||||
}
|
||||
}, TimeSpan.FromSeconds(30)))
|
||||
}, TimeSpan.FromSeconds(Settings.ResolveSrvRecordsShortTimeout ? 5 : 30)))
|
||||
{
|
||||
protocolversion = protocolversionTmp;
|
||||
forgeInfo = forgeInfoTmp;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue