View Source Bonfire.Common.Settings.LoadInstanceConfig (Bonfire v0.9.10-classic-beta.156)

Loads instance Settings (see Bonfire.Common.Settings) from DB into OTP config / application env (see Bonfire.Common.Config)

While this module is a GenServer, it is only responsible for querying the settings, putting them in Config, and then exits with :ignore having done so.

Summary

Functions

Returns a specification to start this module under a supervisor.

Populates the global cache with table data via introspection.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_link(ignored :: term()) :: GenServer.on_start()

Populates the global cache with table data via introspection.