evoq_aggregate_lifespan behaviour (evoq v1.14.1)
View SourceBehavior for controlling aggregate lifecycle.
Aggregates can be configured with different lifespan strategies: - TTL-based: Passivate after idle timeout - Hibernate: Reduce memory footprint when idle - Infinite: Keep alive forever (not recommended)
The default implementation (evoq_aggregate_lifespan_default) provides sensible defaults with 30-minute TTL and automatic snapshots.
Summary
Types
-type action() :: timeout() | infinity | hibernate | stop | passivate.