You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Added EventKindJobInterrupted, emitted when a running job is interrupted because its client is shutting down, the job was cancelled, and has been made immediately available to be worked again. PR #1290.
Changed
Jobs that didn't finish in time organically while a client was stopping and had to have their context cancelled no longer have this cancellation counted as an error. attempt is reset to the number it was before the job started working, errors is left unchanged, and state is made available so jobs are eligible to be retried immediately. PR #1290
Fixed
Write timestamps in SQLite to always include three digits after the second like .000. Previously, they may have been truncated down to just .0 in the case of trailing zeroes. PR #1349
Job completion events now reflect the job's persisted outcome when it differs from the transition requested by the worker. For example, a job completed with JobCompleteTx before its worker returns an error emits job_completed, and a remotely cancelled job whose worker errors or snoozes emits job_cancelled. Applications subscribed only to job_failed or job_snoozed should note that these events may instead be delivered to job_completed or job_cancelled subscribers. PR #1350