Browse Source

Increased default FailedReconnectDelay to 15 seconds

tags/docs-0.9
RogueException 9 years ago
parent
commit
2e34b67250
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/DiscordConfig.cs

+ 1
- 1
src/Discord.Net/DiscordConfig.cs View File

@@ -91,7 +91,7 @@ namespace Discord
private int _reconnectDelay = 1000;
/// <summary> Gets or sets the time (in milliseconds) to wait after an reconnect fails before retrying. </summary>
public int FailedReconnectDelay { get { return _failedReconnectDelay; } set { SetValue(ref _failedReconnectDelay, value); } }
private int _failedReconnectDelay = 10000;
private int _failedReconnectDelay = 15000;

/// <summary> Gets or sets the time (in milliseconds) to wait when the websocket's message queue is empty before checking again. </summary>
public int WebSocketInterval { get { return _webSocketInterval; } set { SetValue(ref _webSocketInterval, value); } }


Loading…
Cancel
Save