[Misc] rename interval to max_recent_requests (#24229)

Signed-off-by: Andy Xie <andy.xning@gmail.com>
This commit is contained in:
Ning Xie 2025-09-15 17:18:42 +08:00 committed by GitHub
parent 4979eb79da
commit 59e17dd4a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -116,8 +116,8 @@ class PrefixCachingMetrics:
This function is called with information gathered when new requests
are being scheduled and are looking for computed blocks.
When there are more than `interval` requests, the oldest set of
requests are removed from the metrics.
When there are more than `max_recent_requests` requests, the oldest set
of requests are removed from the metrics.
Args:
stats: The prefix cache stats.