Expand description
Validates configuration before startup and reload.
Checks reject invalid combinations while emitting warnings for deprecated or risky values. Reload validation also prevents runtime changes to fixed identity and network fields.
Constantsยง
- MAX_
THUMBNAIL_ ๐CONCURRENCY - Slots either thumbnail concurrency knob may ask for.
Functionsยง
- check
- Validates a complete server configuration.
- check_
email ๐ - check_
identity_ ๐provider_ secret - check_
identity_ ๐providers - check_
jwt ๐ - check_
media_ ๐providers - check_
network ๐ - check_
observability ๐ - check_
password_ ๐hashing - check_
profile_ ๐requests - check_
registration ๐ - check_
registration_ ๐terms - check_
room_ ๐version - check_
storage ๐ - check_
thumbnails ๐ - check_
turn_ ๐and_ media_ misc - check_
url_ ๐previews - check_
video_ ๐thumbnails - check_
well_ ๐known_ support_ contact_ validity - database_
filesystem ๐ - Identify the filesystem that will host the database.
- is_
literal_ ๐dotted - Whether a pattern is a plain dotted name rather than an expression.
- reload
- Performs check() with additional checks specific to reloading old config with new config.
- unusable_
concurrency ๐ - Whether a concurrency knob names a number of slots that cannot serve.
- valid_
openpgp4fpr ๐ - validate_
pgp_ ๐key - Validates an MSC4439
pgp_key: a URI, never inline key material. - warn_
deprecated ๐ - Iterates over all the keys in the config file and warns if there is a deprecated key specified
- warn_
legacy_ ๐state_ local - warn_
literal_ ๐pattern - warn_
literal_ ๐patterns - Warns where a pattern option holds text that reads as a plain name.
- warn_
loopback_ ๐in_ container - warn_
oidc_ ๐client_ approval - warn_
oidc_ ๐registration_ token - warn_
unknown_ ๐key - iterates over all the catchall keys (unknown config options) and warns or errors if there are any.