store: Use adaptive batch size for call cache eviction
The inner deletion loop in clear_stale_call_cache used a hardcoded batch size of 10,000. Replace it with AdaptiveBatchSize that starts at 100 and self-tunes based on actual query duration, avoiding both excessive lock contention on large caches and unnecessary round-trips on small ones.
D
David Lutterkort committed
2e465731967551bd212bf2d31f07f5fab66f5514
Parent: 0c9940a