MCPcopy Create free account
hub / github.com/erans/pgsqlite / adjust_adaptive_ttl

Method adjust_adaptive_ttl

src/cache/memory_aware_manager.rs:279–286  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

277 }
278
279 fn adjust_adaptive_ttl(&self) {
280 let mut stats = self.stats.write();
281 stats.adaptive_ttl_adjustments += 1;
282
283 debug!("Adjusting cache TTLs due to memory pressure");
284 // TTL adjustment is handled by individual caches
285 // This is a placeholder for future enhancements
286 }
287
288 fn handle_pressure_eviction(&self, current_memory_mb: f64) {
289 let caches = self.managed_caches.read();

Callers 1

execute_memory_actionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected