Skip to main content

Module background

Module background 

Source
Expand description

Background workers for the memory system.

  • TTL worker: periodically expires stale memories (those past valid_until).
  • Compression worker: periodically compresses old memories into summaries.

Functionsยง

run_ttl_worker
Run the TTL expiry worker. Checks for expired memories every interval_secs seconds.