Skip to content

v1.2.0

Choose a tag to compare

@janbjorge janbjorge released this 15 Jul 22:03

PgQueuer v1.2.0

Features

  • on_conflict option for enqueue — pass on_conflict="skip" to silently skip jobs whose dedupe_key already exists instead of raising. Default remains "raise". Also exposed on the CLI. (#681)

Bug Fixes

  • Priority preserved when merging queued and stale jobs in dequeue — a stale high-priority job could previously be starved indefinitely behind a stream of fresh lower-priority work (regression from #607). The merged set is
    now ordered priority DESC, id ASC across both sources. (#684)

Internal

  • Test suite now runs in parallel via pytest-xdist; container startup and TTL cache tests deflaked.

Thanks

  • @wjmorland for proposing the on_conflict feature (#678) and reviewing the implementation.
  • @vedarolap for the detailed report on priority loss in the dequeue merge (#684).

Full Changelog: v1.1.1...v1.2.0