antikythera v0.4.0 AntikytheraCore.GearConfigPoller View Source

Periodically polls changes in gear configs.

Gear configs are persisted in a shared data storage (e.g. NFS) and are cached in ETS in each erlang node. Note that gear configs are loaded (cached into ETS) at each step of

Thus this GenServer's responsibility is just to keep up with changes in the shared data storage.

Depends on AntikytheraCore.GearManager (when applying changes in gear configs results in update of cowboy routing).

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.