setAlive: Start a task liveness thread

setAliveR Documentation

Start a task liveness thread

Description

setAlive and delAlive support worker fault tolerance and are only to be use internally by the package. It's safe to call setAlive and delAlive multiple times; at most one copy of the liveness thread is run.

Usage

setAlive(port, host, key, password)

Arguments

port

Redis port

host

Redis host name

key

The task liveness key to maintain

password

(optional) Redis password

Value

Invoked for the side-effect of maintaining a task liveness key, NULL is invisibly returned.


bwlewis/future.redis documentation built on May 12, 2023, 1:52 a.m.