oban
oban copied to clipboard
💎 Robust job processing in Elixir, backed by modern PostgreSQL and SQLite3
This PR fixes the spec issues we have experienced while trying to upgrade Oban from: `2.10` -> `2.13`.
### Environment - Oban Version - oban: 2.13.0 - oban_pro: 0.12.2 - PostgreSQL Version 14.4 - Elixir & Erlang/OTP Versions (`elixir --version`) - Erlang/OTP 25 [erts-13.0.2] [source] [64-bit] [smp:10:10] [ds:10:10:10]...
### Environment - Oban Version: 2.13.0 (pro 0.12.2) - PostgreSQL Version: PostgreSQL 13.6 - Elixir: 1.12.3 - Erlang/OTP: 24.0.3 ``` > Oban.config() %Oban.Config{ dispatch_cooldown: 5, engine: Oban.Pro.Queue.SmartEngine, get_dynamic_repo: nil, log:...
This PR restricts the `replace` option when Oban detects a unique conflict. Passing the `replace` option is only allowed on `available`, `retryable`, or `scheduled` job states. Fixes: #635
### Is your feature request related to a problem? Please describe. We have some jobs in Cron, which are not frequent (few times per week). Currently, in order to test...
### Environment - Oban: 2.10.1 - Oban Web: 2.8.0 ### Current Behavior Searching for `priority:` raises an error, crashing the LiveView process. ``` ArgumentError: errors were found at the given...
> ### Precheck > > - Do a quick search and make sure the bug has not yet been reported > - For support, favor using the Elixir Forum, Slack,...
### Environment - Oban.Pro v0.9.2 - Oban.Web v2.7.4 - PostgreSQL 13 - Elixir 1.13 and OTP 24 ### Current Behavior With a large number of jobs (in our case 400k)...
### Is your feature request related to a problem? Please describe. We have many use cases for scheduling jobs every few seconds (usually ~5s). Additionally, only one instance of each...
Staging is essential functionality and is required for Oban to operate correctly. The stager is required to process jobs and is magically injected as a plugin. It is impossible to...