[Bug Fix][HiCache] Drop @lru_cache on UnifiedTreeNode.get_prefix_hash_values (#26939)

Co-authored-by: Zhangheng <hzh0425@apache.org>
This commit is contained in:
Ethan ZHU
2026-06-02 12:38:28 +08:00
committed by GitHub
co-authored by Zhangheng
parent 1c0019da75
commit 594ec6335d
2 changed files with 35 additions and 2 deletions
@@ -6,7 +6,7 @@ import threading
import time
from array import array
from collections import defaultdict
from functools import lru_cache, partial
from functools import partial
from queue import Empty
from typing import TYPE_CHECKING, Any, Optional
@@ -114,7 +114,6 @@ class UnifiedTreeNode:
return None
return self.hash_value[-1]
@lru_cache(maxsize=1)
def get_prefix_hash_values(self, node: UnifiedTreeNode) -> list[str]:
if node is None or node.hash_value is None:
return []