oban v0.5.0 Release Notes
Release Date: 2019-06-27 // almost 5 years ago-
โ Added
- [Oban.Pruner] Added
:prune_limit
option to constrain the number of rows deleted on each prune iteration. This prevents locking the database when there are a large number of jobs to delete.
๐ Changed
- ๐ท [Oban.Worker] Treat
{:error, reason}
tuples returned fromperform/1
as a failure. The:kind
value reported in telemetry events is now differentiated, where a rescued exception has the kind:exception
, and an error tuple has the kind:error
.
๐ Fixed
โฑ [Oban.Testing] Only check
available
andscheduled
jobs with theassert|refute_enqueued
testing helpers.[Oban.Queue.Watchman] Catch process exits when attempting graceful shutdown. Any exits triggered within
terminate/2
are caught and ignored. This safely handles situations where the producer exits before the watchman does.[Oban.Queue.Producer] Use circuit breaker protection for gossip events and call queries directly from the producer process. This prevents pushing all queries through the
Notifier
, and ensures more granular control over gossip errors.
- [Oban.Pruner] Added