public void SendScheduledHeartbeat() { long id = Interlocked.Increment(ref _heartbeatId); _log.LogDebug("Sending heartbeat {0}", id); _sender.SendHeartbeat(id); }
public void SendScheduledHeartbeat() { var id = _sequence.MoveToNextHeartbeatId(); _log.LogDebug("Sending heartbeat {0}", id); _sender.SendHeartbeat(id); _tracker.DetectUnhealthyStitches(id); }