[CSHARP-719] Add a setting for Heartbeat Frequency Created: 04/Apr/13 Updated: 18/Aug/14 Resolved: 18/Aug/14 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Connectivity |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Craig Wilson | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Adopt Core Library |
| Description |
|
Currently, the health check frequency for connections to servers is a constant 10 seconds. It should be possible for a user to alter this value. |
| Comments |
| Comment by Khalid Salomão [ 27/Jun/13 ] |
|
Another idea: A possible approach could be to save the last successiful operation DateTime, then the heartbeat event could first check if the last operation happend in between heartbeats. If there was an sucessiful operation on the last 10 seconds, just skip the health check to the next schedulled timer event. This is a simple approach that could be very effective. ALSO: the heartbeat timer could be changed to a greater timespan if the system is idle for some time... |