Cleans up workers known to have exited. See vignette("fault-tolerance") for more details.
Arguments
- worker_ids
Optional vector of worker ids. If
NULL
then rrq looks for exited workers usingrrq_worker_list_exited()
. If given, we check that the workers are known and have exited.- controller
The controller to use. If not given (or
NULL
) we'll use the controller registered withrrq_default_controller_set()
.
Examples
if (FALSE) { # rrq:::enable_examples(require_queue = "rrq:example")
obj <- rrq_controller("rrq:example")
rrq_worker_delete_exited(controller = obj)
}