I meant in the sense that, what is the aftermath when it comes back online, and is it screwed up in ways that cause side effects.
On Wed, Mar 21, 2018 at 5:02 PM, Jeremy Audet <jau...@redhat.com> wrote: > > RQ does not support revoking tasks. If you send the worker a SIGINT, it > will finish the task and then stop processing new ones. If you send the > worker SIGKILL, it will stop immediately, but I don't think it gracefully > handles this circumstance. > > Nothing handles SIGKILL gracefully. Processes can't catch that signal. > `kill -9 $pid` sends SIGKILL. > > If one is looking for a way to gracefully, immediately kill an RQ > worker, then SIGTERM may do the trick. Anecdotally, many processes > handle this signal in a hurried fashion. Semantically, this is > appropriate: SIGINT is the "terminal interrupt" signal (Ctrl+c sends > SIGINT), whereas SIGTERM is the "termination signal." >
_______________________________________________ Pulp-dev mailing list Pulp-dev@redhat.com https://www.redhat.com/mailman/listinfo/pulp-dev