Skip to main content

spawn_gardener_task

Function spawn_gardener_task 

Source
pub fn spawn_gardener_task(ctx: AutoDreamContext)
Expand description

Spawn the recurring gardener loop. Time- AND volume-triggered (L4): it polls on a short cadence and runs the passes when either the configured interval elapsed or enough new memories accumulated since the last run. No-op cost when disabled: each pass reads config and returns immediately if its gardener is off, and the poll itself is just a cheap topic-file count.