rush_plan | R Documentation |
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.
rush_plan(
n_workers = NULL,
config = NULL,
lgr_thresholds = NULL,
large_objects_path = NULL,
start_worker_timeout = Inf
)
n_workers |
( |
config |
(redux::redis_config) |
lgr_thresholds |
(named |
large_objects_path |
( |
start_worker_timeout |
( |
list()
with the stored configuration.
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.