Closed Psli closed 4 years ago
Hey @Psli, this is already possible by using Verk.Worker.current_job()
from the perform function: https://github.com/edgurgel/verk/blob/master/lib/verk/worker.ex#L14
The README should probably have some lines about this
@edgurgel thx.
This allows workers to use any attribute of the job to customize behaviour, e.g. the number of retries or error message.