Permalink
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...
1 parent b82a932 commit 875ae9205ccea15f1cd169f7febea47ed6834807 @nberardi nberardi committed Nov 21, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 src/Connections/ConnectionBuilder.cs
@@ -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

0 comments on commit 875ae92

Please sign in to comment.