Skip to main content

Module server_configuration

Module server_configuration 

Source
Expand description

Resolving, storing, and refreshing what the backend publishes about itself.

Spec 006 §6. The client holds one immutable snapshot for its life (CFG-030) and reads every value in §6.4 through the provider, never the database. This module owns the three places the database is touched: the resolve that runs once inside build, the refresh worker, and the explicit refresh the SDKs expose.

Modules§

worker
The hourly refresh (CFG-046 to CFG-050).

Structs§

ServerConfigurationHandle
The snapshot the client was built with, plus the latch a refresh may set.

Enums§

ConfigurationFetchError
Why a configuration read could not produce a usable copy.
ConfigurationLatch
A condition that, once observed, fails every later call for the life of the client (CFG-051, CFG-054, CFG-061).

Functions§

fetch_server_configuration
Read a deployment’s configuration with no database and no client (CFG-081).