Unverified Commit 59e17dd4 authored by Ning Xie's avatar Ning Xie Committed by GitHub
Browse files

[Misc] rename interval to max_recent_requests (#24229)


Signed-off-by: default avatarAndy Xie <andy.xning@gmail.com>
parent 4979eb79
...@@ -116,8 +116,8 @@ class PrefixCachingMetrics: ...@@ -116,8 +116,8 @@ class PrefixCachingMetrics:
This function is called with information gathered when new requests This function is called with information gathered when new requests
are being scheduled and are looking for computed blocks. are being scheduled and are looking for computed blocks.
When there are more than `interval` requests, the oldest set of When there are more than `max_recent_requests` requests, the oldest set
requests are removed from the metrics. of requests are removed from the metrics.
Args: Args:
stats: The prefix cache stats. stats: The prefix cache stats.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment