Module config

Module config 

Source
Expand description

Configuration for Hyperactor Mesh.

This module provides hyperactor_mesh-specific configuration attributes that extend the base hyperactor configuration system.

Enums§

SocketAddrStr
A socket address string usable as a declare_attrs! default.

Statics§

MAX_CAST_DIMENSION_SIZE
The maximium for a dimension size allowed for a folded shape when reshaping during casting to limit fanout. usize::MAX means no reshaping as any shape will always be below the limit so no dimension needs to be folded.
MESH_ADMIN_ADDR
Default socket address for the mesh admin HTTP server.
MESH_ADMIN_MAX_CONCURRENT_RESOLVES
Maximum number of concurrent resolve requests the HTTP bridge forwards to the MeshAdminAgent. Excess requests receive 503 immediately. Protects the shared tokio runtime from query floods (e.g. multiple TUI clients, rapid polling). Increase if the admin server serves many concurrent clients that need low-latency responses; decrease if introspection queries interfere with the actor workload under churn.
MESH_ADMIN_RESOLVE_ACTOR_TIMEOUT
Timeout for fallback queries to actors/procs that may have been recently destroyed. The second-chance paths in resolve_proc_node and resolve_actor_node fire after the fast QueryChild lookup fails. A short budget here prevents dead actors from blocking the single-threaded MeshAdminAgent message loop.
MESH_ATTACH_CONFIG_TIMEOUT
Timeout for the config-push barrier during HostMesh::attach().
MESH_PROC_LAUNCHER_KIND
Which builtin process launcher backend to use. Accepted values: “native” (default), “systemd”. Trimmed and lowercased before matching.