View Source AntikytheraCore.GearConfigPoller (antikythera v0.5.1)

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).

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.