Skip to content

v0.2.9

Choose a tag to compare

@danish-a1 danish-a1 released this 08 Nov 22:00
· 26 commits to main since this release

Fixed

  • Idle workers now stop promptly on shutdown. The Redis Pop blocked forever on an empty queue (BRPOPLPUSH with timeout 0), so Shutdown always waited the full timeout and returned context.DeadlineExceeded. Pop now blocks for at most 1 second and returns an empty job, letting the worker loop re-check for shutdown.
  • The metrics goroutine now also exits on Shutdown, not only when the Start context is canceled, so Shutdown no longer times out when the caller keeps that context alive.

Full Changelog: v0.2.8...v0.2.9