Returns a list of information about active workers (or exited
workers if worker_ids
includes them).
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
obj <- rrq_controller("rrq:example")
rrq_worker_info(controller = obj)
#> $exhaustible_umbrette
#> <rrq_worker_info>
#> worker: exhaustible_umbrette
#> config: localhost
#> rrq_version: 0.7.19
#> platform: x86_64-pc-linux-gnu
#> running: Ubuntu 22.04.4 LTS
#> hostname: fv-az2026-9
#> username: runner
#> queue: rrq:example:queue:default
#> wd: /home/runner/work/rrq/rrq
#> pid: 5888
#> redis_host: 127.0.0.1
#> redis_port: 6379
#>