Unleash.Repo (Unleash v5.1.2)

View Source

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.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.