Report on worker "load" (the number of workers being used over
time). Reruns an object of class worker_load
, for which a
mean
method exists (this function is a work in progress and the
interface may change).
Arguments
- worker_ids
Optional vector of worker ids. If
NULL
then all active workers are used.- 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")
mean(rrq_worker_load(controller = obj))
}