View Source Unleash.Repo (Unleash v1.9.0)

This genserver polls the unleash service each time the given interval has elapsed, refreshing both our local ETS cache and the backup state file if the flag state has diverged.

The following configuration values are used:

Config.features_period(): polling interval - default 15 seconds Config.retries(): number of time the call to refresh values is allowed to retry - default -1 (0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.