Barograph.Refresher (barograph v0.2.0)

Copy Markdown View Source

Periodic continuous-aggregate refresh (spec §8.6).

The internal :timer-driven fallback: ticks at the smallest refresh_every across registered aggregates and runs a watermark-bounded refresh of all of them. Refresh is idempotent and proportional to new data, so ticking more often than strictly needed is harmless. When Oban is available it replaces this process — without changing what a refresh does.

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.

start_link(opts)

@spec start_link(keyword()) :: GenServer.on_start()