rush_plan {rush} | R Documentation |
Create Rush Plan
Description
Stores the number of workers and Redis configuration options (redux::redis_config) for Rush. The function tests the connection to Redis and throws an error if the connection fails.
Usage
rush_plan(
n_workers = NULL,
config = NULL,
lgr_thresholds = NULL,
large_objects_path = NULL,
start_worker_timeout = Inf
)
Arguments
n_workers |
( |
config |
(redux::redis_config) |
lgr_thresholds |
(named |
large_objects_path |
( |
start_worker_timeout |
( |
Value
list()
with the stored configuration.
Examples
# This example is not executed since Redis must be installed
config_local = redux::redis_config()
rush_plan(config = config_local, n_workers = 2)
rush = rsh(network_id = "test_network")
rush
[Package rush version 0.1.1 Index]