View Source Unleash.Repo (Unleash v1.10.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)

Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for GenServer.init/1.