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 from perform/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 and scheduled jobs with the assert|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.