Exemple #1
0
        public void SendScheduledHeartbeat()
        {
            long id = Interlocked.Increment(ref _heartbeatId);

            _log.LogDebug("Sending heartbeat {0}", id);

            _sender.SendHeartbeat(id);
        }
Exemple #2
0
        public void SendScheduledHeartbeat()
        {
            var id = _sequence.MoveToNextHeartbeatId();

            _log.LogDebug("Sending heartbeat {0}", id);

            _sender.SendHeartbeat(id);

            _tracker.DetectUnhealthyStitches(id);
        }