[MemCache] Report no prefix sharing from a disabled RadixCache (#43197)
This commit is contained in:
@@ -605,6 +605,9 @@ class RadixCache(BasePrefixCache):
|
||||
node = node.parent
|
||||
return DecLockRefResult(delta=delta)
|
||||
|
||||
def supports_prefix_sharing(self) -> bool:
|
||||
return not self.disable
|
||||
|
||||
def evictable_size(self):
|
||||
return self.evictable_size_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user