Skip to content

Commit a00cb91

Browse files
committed
Use all() to ensure all connector cache resets succeed
Signed-off-by: tovam <tovam@pliops.com>
1 parent f94cb15 commit a00cb91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/distributed/kv_transfer/kv_connector/v1/multi_connector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,4 +440,4 @@ def build_prom_metrics(
440440
)
441441

442442
def reset_cache(self) -> bool:
443-
return any(connector.reset_cache() for connector in self._connectors)
443+
return all(connector.reset_cache() for connector in self._connectors)

0 commit comments

Comments
 (0)