mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 02:25:56 +00:00
204a9fe084
GetHostAgentConfig was loading profiles and assignments from disk on every agent report (every 10-30 seconds per host). With multiple hosts, this caused disk I/O contention that eventually led to request timeouts. Added in-memory caching with 60-second TTL: - Fast path reads from cache without locks when valid - Double-checked locking pattern for cache refresh - Cache auto-invalidates after TTL, no manual invalidation needed