ROADMAP v0.5.0 - Default TTL strategy factory (30min default, 2hr max)
()
| 447 | /// Create TTL-based strategy with default settings |
| 448 | #[allow(dead_code)] // ROADMAP v0.5.0 - Default TTL strategy factory (30min default, 2hr max) |
| 449 | pub fn default_ttl() -> Self { |
| 450 | Self::Ttl { |
| 451 | default_ttl: Duration::from_secs(1800), // 30 minutes |
| 452 | max_ttl: Duration::from_secs(7200), // 2 hours |
| 453 | } |
| 454 | } |
| 455 | |
| 456 | /// Create tag-based strategy for graph databases |
| 457 | #[allow(dead_code)] // ROADMAP v0.5.0 - Graph-specific tag-based invalidation strategy |
nothing calls this directly
no outgoing calls
no test coverage detected