You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is there any way for us to stop/discard a job that is in progress by a worker? I was looking to do this in the event that there's some problematic jobs that requires manual intervention, and I was thinking to do this through the console helpers. Right now, when I run:
Hey @salmonsteak1, this is not yet supported directly from Mission Control, but it'll be for version 1.0. There's some more info here: rails/solid_queue#124 (comment)
In general you can't stop a single job that's already in progress, you'd need to force the worker running it to quit, which would also interrupt any other jobs if you're running more than one thread. In Mission Control you can get information about the worker running a specific job (the host, the PID...) so you can send a QUIT signal to it.
Hi, is there any way for us to stop/discard a job that is in progress by a worker? I was looking to do this in the event that there's some problematic jobs that requires manual intervention, and I was thinking to do this through the console helpers. Right now, when I run:
ActiveJob.jobs.in_progress.where(worker_id: 675).discard_all
It gives a
UndiscardableError, "Can't discard jobs in progress"
errorThe text was updated successfully, but these errors were encountered: