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.
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 MSPC channel on NetRx.
- CODEC_
MAX_ FRAME_ LENGTH - Maximum frame length for codec
- CONFIG_
ENV_ VAR - This is a meta-attribute specifying the environment variable used by the 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.
- PYTHON_
CONFIG_ KEY - This is a meta-attribute specifying the name of the kwarg to pass to monarch.configure() to set the attribute value in the global config.
- REMOTE_
ALLOCATOR_ HEARTBEAT_ INTERVAL - Heartbeat interval for remote allocator
- 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.