Skip to content

Commit

Permalink
Reduced the ConnectionTimeout to be equivalent to the DisconnectTimeout.
Browse files Browse the repository at this point in the history
- This allows us to know when a client has been gone from a server for too long.  Prime example is mobile devices when they go into sleep mode.

#2484
  • Loading branch information
NTaylorMullen committed Sep 16, 2013
1 parent b452565 commit ed3c5bb
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -22,7 +22,9 @@ public class DefaultConfigurationManager : IConfigurationManager

public DefaultConfigurationManager()
{
ConnectionTimeout = TimeSpan.FromSeconds(110);
// Make the connection timeout equivalent to the disconnect timeout so on the client we know when the
// server "may" have forgotten about us for the Long Polling transport.
ConnectionTimeout = TimeSpan.FromSeconds(30);
DisconnectTimeout = TimeSpan.FromSeconds(30);
DefaultMessageBufferSize = 1000;
TransportConnectTimeout = TimeSpan.FromSeconds(5);
Expand Down

0 comments on commit ed3c5bb

Please sign in to comment.