Save a worker configuration, which can be used to start workers with a set of options with the cli. These correspond to arguments to rrq_worker. This function will be renamed soon
rrq_worker_config_save2(name, config, overwrite = TRUE, controller = NULL)
Name for this configuration
A worker configuration, created by
rrq_worker_config()
Logical, indicating if an existing configuration
with this name
should be overwritten if it exists. If FALSE
,
then the configuration is not updated, even if it differs from
the version currently saved.
The controller to use. If not given (or NULL
)
we'll use the controller registered with
rrq_default_controller_set()
.
Invisibly, a boolean indicating if the configuration was updated.