Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed connection name from Server Recovery Interval to Server Polli…

…ng Interval incase we want to preemptively check for bad servers in the future, issue #89
  • Loading branch information...
commit 875ae9205ccea15f1cd169f7febea47ed6834807 1 parent b82a932
Nick Berardi nberardi authored
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/Connections/ConnectionBuilder.cs
14 src/Connections/ConnectionBuilder.cs
View
@@ -195,21 +195,21 @@ private void InitializeConnectionString(string connectionString)
#region ServerRecoveryInterval
- if (!pairs.ContainsKey("Server Recovery Interval"))
+ if (!pairs.ContainsKey("Server Polling Interval"))
{
ServerPollingInterval = TimeSpan.FromSeconds(30);
}
else
{
- int serverRecoveryInterval;
+ int serverPollingInterval;
- if (!Int32.TryParse(pairs["Server Recovery Interval"], out serverRecoveryInterval))
- serverRecoveryInterval = 0;
+ if (!Int32.TryParse(pairs["Server Polling Interval"], out serverPollingInterval))
+ serverPollingInterval = 0;
- if (serverRecoveryInterval < 0)
- serverRecoveryInterval = 0;
+ if (serverPollingInterval < 0)
+ serverPollingInterval = 0;
- ServerPollingInterval = TimeSpan.FromSeconds(serverRecoveryInterval);
+ ServerPollingInterval = TimeSpan.FromSeconds(serverPollingInterval);
}
#endregion
Please sign in to comment.
Something went wrong with that request. Please try again.