mirror of
https://github.com/lukaszraczylo/graphql-monitoring-proxy.git
synced 2026-10-12 05:32:36 +00:00
Clear() used FlushDB, wiping every key in the selected Redis DB even if that database is shared with other tenants. Switch to a prefix-scoped SCAN+DEL so only this cache's keys (prefixed) are removed, matching the memory cache's Clear semantics. GetMemoryUsage made an Info() round-trip purely to return 0, stalling the admin dashboard when Redis is slow; return 0 without the call.