-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requeue doesn't work with new async / await #86
Comments
For those running into this issue, introduced in agenda v2 agenda/agenda@b9ecca9#diff-d24f116ac5cf860dd12424930aaffc40, work around is to stay in agenda v1.0.3 |
Shouldn't this be a relatively easy fix? I'll be happy to submit a PR. There's possibly a concern with backwards compatibility for projects sticking with agenda v1.0.3, but if that's an issue and the idea of doing that round a major version bump doesn't appeal to the maintainers, then checking the installed version of agenda and selecting which api to use shouldn't require too much coding. |
So I'm not that guy who just says "oh that's trivial" and walks away, I see two possibilities that could be straightforward for doing the version checking: The first option that's not as easy would be to make a PR to The other way that could be implemented wholly within
Boy do I feel dumb, this is what the build matrix is for 😂 |
Oh, now I see #72 ... so is the idea to move to consuming agenda-rest instead of the code in |
Having the same issue. Unfortunately I don't have time right now to take a look at this 😢 |
This should be fixed in Agendash v2. Please try and report back if it's not working. |
Now that Agenda has been updated to use async / await, I think it's time to also update Agendash. I'm getting the error "This function does not accept a callback function. 1/0" when trying to requeue a job in the Agendash UI.
The text was updated successfully, but these errors were encountered: