Function bootstrap_controller

Source
pub async fn bootstrap_controller(
    system_addr: ChannelAddr,
    listen_addr: Option<ChannelAddr>,
    controller_actor_id: ActorId,
    num_procs: usize,
    worker_world_id: WorldId,
    worker_name: String,
    supervision_query_interval: Duration,
    supervision_update_interval: Duration,
    worker_progress_check_interval: Duration,
    operation_timeout: Duration,
    operations_per_worker_progress_request: u64,
    extra_controller_labels: Option<Vec<(String, String)>>,
    fail_on_worker_timeout: bool,
) -> Result<ActorHandle<ProcActor>>
Expand description

Bootstraps the controller actor. Listen address is optional. If not provided, it will be assigned with a random available address that has the same transport as the system address.