sorentwo / oban

💎 Robust job processing in Elixir, backed by modern PostgreSQL and SQLite3

Home Page:https://getoban.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oban.Pro.Worker Hook Docs

nbw opened this issue · comments

Small typo, but since Pro isn't a public repo I'm logging it here.

The line:

extra = Map.take([:attempt, :id, :args, :max_attempts, :meta, :queue, :worker])

Should be:

extra = Map.take(job, [:attempt, :id, :args, :max_attempts, :meta, :queue, :worker])

Thanks for the report. This is fixed in current versions of the docs—there's a lot of new features and improvements since v0.12.9 🙂