sorentwo / oban

💎 Robust job processing in Elixir, backed by modern PostgreSQL and SQLite3
https://getoban.pro
Apache License 2.0
3.18k stars 297 forks source link

Oban.Pro.Worker Hook Docs #1056

Closed nbw closed 4 months ago

nbw commented 4 months ago

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])
sorentwo commented 4 months ago

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 🙂