Skip to main content

Module loader

Module loader 

Source
Expand description

Loading the configuration: layering the sources, parsing, and validating.

Enums§

ConfigError
Why the configuration can’t be used; schedr refuses to start.

Constants§

DB_STORAGE
The secret storage name every standalone has ([secret_storage]’s db).
LONGEST_HIDDEN_TIMING
The longest a hidden timing takes, ten years (Codex’s review of M5.1p): a deadline from now stays a time.
MOST_HIDDEN_LIMIT
The highest a hidden limit takes (Codex’s review of M5.1p): far above any default, and below what tokio’s channels and semaphores refuse with a panic.

Functions§

load
Loads the configuration from the file’s contents (if any), the environment and the command-line overrides; later sources win (flags > environment > file).