Loads and validates Tay's foundation configuration without storage I/O.
Supported options:
:data_dir— a nonblank UTF-8 path without NUL bytes, ornilwhen unconfigured. Relative paths are expanded against the current working directory when configuration is loaded. Expansion is lexical: it does not resolve symlinks, create directories, or verify permissions.:queues— a keyword list of unique atom names and positive integer concurrency limits, defaulting to[default: 10].[]is allowed.:durability— default job durability,:persistent(the default) or:volatile.:journal— global persistent-journal batching configuration.
This module has no default storage path. This repository supplies provisional
dev/test paths in config/config.exs; these are not production storage-location
semantics. An unconfigured path is accepted by development/test application
startup only. Production startup requires an explicitly configured path.
Unknown and duplicate options are rejected. Queue strings are not converted
to atoms. Storage-session durability (:sync or development-only :write)
remains an Engine/Storage option and is distinct from job durability.
Summary
Functions
Reads the current :tay_core application environment and validates it.
Validates options and normalizes a configured path without changing the application environment or touching storage.
Enforces the production storage-location requirement without filesystem I/O.
Types
Functions
Reads the current :tay_core application environment and validates it.
Values are read on each call, rather than captured at compile time.
Validates options and normalizes a configured path without changing the application environment or touching storage.
Enforces the production storage-location requirement without filesystem I/O.