-
Notifications
You must be signed in to change notification settings - Fork 182
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
Kill busy jobs without restoring #305
Comments
i don't think this is beautiful but i've finally achieved it by doing
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in Exq.Api, I couldn't find any api to kill busy job.
there exists
remove_job
but it can remove a job listed in queue only.there also exists
clear_processes
but nothing happens.If i forced to kill busy job using Process.exit, and restart my app,
then Exq re-enqueues the job i killed.
for the most cases, i think, restoring is very helpful and i love it.
but in my case, i need to kill it without restoring.
is there any way of doing it?
short snippet:
iex:
after restart:
thank you.
The text was updated successfully, but these errors were encountered: