WardrikEvents. Retention
(wardrik_events v0.1.0-rc.1)
Copy Markdown
Drops events older than :retention days, once an hour. See WardrikEvents.start_link/1.
Summary
Functions
Returns a specification to start this module under a supervisor.
Drops the events written before cutoff from every log in store.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec trim(WardrikStore.t(), DateTime.t()) :: :ok
Drops the events written before cutoff from every log in store.