Expand description
Configuration keys and I/O for hyperactor.
This module declares all config keys (declare_attrs!) and
provides helpers to load/save Attrs (from env via from_env,
from YAML via from_yaml, and to_yaml). It also re-exports the
process-wide layered store under crate::config::global.
For reading/writing the process-global configuration (layered
resolution, test overrides), see crate::config::global.
Modules§
- global
- Global layered configuration store.
Structs§
- Config
Attr - Metadata describing how a configuration key is exposed across environments.
Statics§
- CHANNEL_
MULTIPART - Whether to use multipart encoding for network channel communications.
- CHANNEL_
NET_ RX_ BUFFER_ FULL_ CHECK_ INTERVAL - How often to check for full MPSC channel on NetRx.
- CLEANUP_
TIMEOUT - Timeout used by proc for running the cleanup callback on an actor. Should be less than the timeout for STOP_ACTOR_TIMEOUT.
- CODEC_
MAX_ FRAME_ LENGTH - Maximum frame length for codec
- CONFIG
- This is a meta-attribute marking a configuration key.
- DEFAULT_
ENCODING - The default encoding to be used.
- ENABLE_
CLIENT_ SEQ_ ASSIGNMENT - Whether to enable client sequence assignment.
- HOST_
SPAWN_ READY_ TIMEOUT - Timeout for [
Host::spawn] to await proc readiness. - MESSAGE_
ACK_ EVERY_ N_ MESSAGES - Number of messages after which to send an acknowledgment
- MESSAGE_
ACK_ TIME_ INTERVAL - Message acknowledgment interval
- MESSAGE_
DELIVERY_ TIMEOUT - Message delivery timeout
- MESSAGE_
LATENCY_ SAMPLING_ RATE - Sampling rate for logging message latency Set to 0.01 for 1% sampling, 0.1 for 10% sampling, 0.90 for 90% sampling, etc.
- MESSAGE_
TTL_ DEFAULT - Default hop Time-To-Live for message envelopes.
- PROCESS_
EXIT_ TIMEOUT - Timeout used by allocator for stopping a proc.
- REMOTE_
ALLOCATOR_ HEARTBEAT_ INTERVAL - Heartbeat interval for remote allocator. We do not rely on this heartbeat anymore in v1, and it should be removed after we finishing the v0 deprecation.
- SPLIT_
MAX_ BUFFER_ AGE - The maximum time an update can be buffered before being reduced.
- SPLIT_
MAX_ BUFFER_ SIZE - Maximum buffer size for split port messages
- STOP_
ACTOR_ TIMEOUT - Timeout used by proc mesh for stopping an actor.