RELKIT_JOB_LEASE_EXPIRED
Job worker lease expired on the last attempt.
Job worker lease expired on the last attempt.
What happened
The worker running the job stopped renewing its lease, for example because the process crashed, and the run had no attempts left under its retry policy.
What to do
Find out why the worker stopped, raise the task’s retry.maxAttempts if crashes are expected, and make the task idempotent because an attempt may have partly run.
Reported by @relkit/postgres, relkit/diagnostics.
See all error codes.