rrq_worker_detect_exited: Detect exited workers

View source: R/rrq_workers.R

rrq_worker_detect_exitedR Documentation

Detect exited workers

Description

Detects exited workers through a lapsed heartbeat. This differs from rrq_worker_list_exited() which lists workers that have definitely exited by checking to see if any worker that runs a heartbeat process has not reported back in time, then marks that worker as exited. See vignette("fault-tolerance") for details.

Usage

rrq_worker_detect_exited(controller = NULL)

Arguments

controller

The controller to use. If not given (or NULL) we'll use the controller registered with rrq_default_controller_set().

Value

Undefined.

Examples


obj <- rrq_controller("rrq:example")
rrq_worker_detect_exited(controller = obj)


richfitz/rrq documentation built on July 15, 2024, 8:12 p.m.