Table of Contents

Property HeartbeatInterval

Namespace
Millrace
Assembly
Millrace.dll

HeartbeatInterval

How often a worker renews the leases on jobs it is running.

public TimeSpan HeartbeatInterval { get; set; }

Property Value

TimeSpan

Remarks

LeaseDuration must exceed this and startup validation refuses a configuration where it does not — the gap between the two is the entire tolerance for renewal latency and inter-node clock skew. Shortening this is what allows a correspondingly shorter lease, which is the value that governs how long a crashed node's jobs stay unclaimable; the cost is more renewal traffic against storage.