[HiCache] Account for newly pinned ancestors in load-back quota (#38481)

This commit is contained in:
Shuwen Wang
2026-09-10 23:54:08 +08:00
committed by GitHub
parent 92dffebe16
commit cc7e43ad22
2 changed files with 3 additions and 2 deletions
@@ -6281,7 +6281,8 @@ class UnifiedRadixCacheSuite:
best_match_node=req.best_match_node,
host_hit_length=req.host_hit_length,
req=req,
mem_quota=-1_000_000,
# Pinning the resident ancestors leaves too little for the tail.
mem_quota=len(tokens) - 1,
)
)