Supervisor for one open database (spec §4.1).
Children:
Barograph.SeriesCache— ETS label hash → series id cacheBarograph.Writer— owns the single write connectionBarograph.Refresher— periodic continuous-aggregate refreshBarograph.Ingest.Supervisor— opt-in, only present when:ingestis given toBarograph.open/2(spec §10)
Started with :rest_for_one so a crash of the series cache also
restarts the writer, which re-warms the cache on boot.
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.
@spec start_link(keyword()) :: Supervisor.on_start()