From 129991145f84d9893aef739de7547f4d6642758c Mon Sep 17 00:00:00 2001 From: RogueException Date: Wed, 7 Oct 2015 00:26:01 -0300 Subject: [PATCH] Raise APITimeout to 10 seconds --- 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 420420ef9..3aca8cc34 100644 --- a/src/Discord.Net/DiscordClientConfig.cs +++ b/src/Discord.Net/DiscordClientConfig.cs @@ -29,7 +29,7 @@ namespace Discord private int _failedReconnectDelay = 10000; /// Max time (in milliseconds) to wait for an API request to complete. public int APITimeout { get { return _apiTimeout; } set { SetValue(ref _apiTimeout, value); } } - private int _apiTimeout = 5000; + private int _apiTimeout = 10000; /// Gets or sets the time (in milliseconds) to wait when the websocket's message queue is empty before checking again. public int WebSocketInterval { get { return _webSocketInterval; } set { SetValue(ref _webSocketInterval, value); } }