Browse Source

Bumped up the default timeout from 5s to 10s

tags/docs-0.9
Brandon Smith 9 years ago
parent
commit
6343e8bfe9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/DiscordClientConfig.cs

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

@@ -11,7 +11,7 @@
public bool EnableDebug { get; set; } = false;

/// <summary> Max time in milliseconds to wait for the web socket to connect. </summary>
public int ConnectionTimeout { get; set; } = 5000;
public int ConnectionTimeout { get; set; } = 10000;
/// <summary> Max time in milliseconds to wait for the voice web socket to connect. </summary>
public int VoiceConnectionTimeout { get; set; } = 10000;
/// <summary> Gets or sets the time (in milliseconds) to wait after an unexpected disconnect before reconnecting. </summary>


Loading…
Cancel
Save