Repository navigation
HeartBeatConfiguration
blehnen edited this page Nov 10, 2026
·
6 revisions
The heartbeat configuration controls how often heartbeats are issued and how long it takes before a record is considered outside the heartbeat window.
The update time controls how often the heartbeat is updated.
queue.Configuration.HeartBeat.UpdateTime = "sec(*%10)"; //set a heartbeat every 10 secondsWhen the heartbeat is outside this window, the record is considered for re-queuing to another worker.
queue.Configuration.HeartBeat.Time = TimeSpan.FromSeconds(35); //records with no heartbeat after 35 seconds are considered deadHow often the queue checks for records that need to be re-queued because they are outside the time window.
queue.Configuration.HeartBeat.MonitorTime = TimeSpan.FromSeconds(15); //check for dead records every 15 secondsHow many threads to use to update heartbeats. If you de-queue many records at once and you use a short heartbeat window, you may need more than 1 thread.
queue.Configuration.HeartBeat.ThreadPoolConfiguration.ThreadsMax = 1;For any issues please use the GitHub issues