gocraft / work

Process background jobs in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a plan to support update MaxFails after handler function added?

lightof410 opened this issue · comments

now go craft/work support add handler functions with MaxFails like this:
pool.JobWithOptions("export", work.JobOptions{Priority: 10, MaxFails: 1}, (*Context).Export)
but after registered, MaxFails can't change, I think it's not reasonable in some case.
I’m willing to help make this change if possible