Kantoor. Bodies. Sweeper
(Kantoor v1.0.0)
Supervised timer that keeps the body cache within its budget by calling
Kantoor.Bodies.sweep/0. A failed sweep is logged and retried next tick.
Summary
Functions
Returns a specification to start this module under a supervisor.
Runs a sweep now and returns the number of evicted bodies.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec sweep_now(GenServer.server()) :: non_neg_integer()
Runs a sweep now and returns the number of evicted bodies.