From 6343e8bfe9ee44948f83a27ee84e8a26082f3878 Mon Sep 17 00:00:00 2001 From: Brandon Smith Date: Tue, 1 Sep 2015 21:38:11 -0300 Subject: [PATCH] Bumped up the default timeout from 5s to 10s --- src/Discord.Net/DiscordClientConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net/DiscordClientConfig.cs b/src/Discord.Net/DiscordClientConfig.cs index a90316623..698e6a3bd 100644 --- a/src/Discord.Net/DiscordClientConfig.cs +++ b/src/Discord.Net/DiscordClientConfig.cs @@ -11,7 +11,7 @@ public bool EnableDebug { get; set; } = false; /// Max time in milliseconds to wait for the web socket to connect. - public int ConnectionTimeout { get; set; } = 5000; + public int ConnectionTimeout { get; set; } = 10000; /// Max time in milliseconds to wait for the voice web socket to connect. public int VoiceConnectionTimeout { get; set; } = 10000; /// Gets or sets the time (in milliseconds) to wait after an unexpected disconnect before reconnecting.