Skip to content

v0.2.7

Choose a tag to compare

@danish-a1 danish-a1 released this 22 Oct 10:33
· 28 commits to main since this release

Fixed

  • Redis DLQ never received jobs. RedisDLQ.Push redeclared err while marshalling the job, so err.Error() panicked on nil for every job that exhausted its retries.
  • Caller DLQ adapter ignored. NewQueue replaced a configured DLQAdapter with the driver default for the Redis and database drivers. The default now applies only when no adapter is set.
  • Database driver init. NewQueue used the database store before checking its init error, so a failed connection panicked.
  • Panicking jobs crashed the process. The job handler runs on its own goroutine, out of reach of the worker's recover. A panic now becomes a job error and follows the normal retry / DLQ path.

Also includes v0.2.6: the Redis health check no longer closes the shared client after a transient ping failure.