lockDuration
on interval lockRenewTime
(which is usually half lockDuration
). If lockDuration
elapses before the lock can be renewed, the job will be considered stalled and is automatically restarted; it will be double processed. This can happen when:lockDuration
setting (with the tradeoff being that it will take longer to recognize a real stalled job).stalled
event and log this to your error monitoring system, as this means your jobs are likely getting double-processed.maxStalledCount
times (default: 1
).