Expand description
Loading the configuration: layering the sources, parsing, and validating.
Enums§
- Config
Error - Why the configuration can’t be used; schedr refuses to start.
Constants§
- DB_
STORAGE - The secret storage name every standalone has (
[secret_storage]’sdb). - 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).