heartbeat {rush} | R Documentation |
Heartbeat Loop
Description
The heartbeat loop updates the heartbeat key if the worker is still alive. If the kill key is set, the worker is killed. This function is called in a callr session.
Usage
heartbeat(
network_id,
config,
worker_id,
heartbeat_period,
heartbeat_expire,
pid
)
Arguments
network_id |
( |
config |
(redux::redis_config) |
worker_id |
( |
heartbeat_period |
( |
heartbeat_expire |
( |
pid |
( |
Value
NULL
[Package rush version 0.2.0 Index]