Skip to content

Commit 4e7c64b

Browse files
committed
fix by patrace's comments
Signed-off-by: Lizhi Zhou <[email protected]>
1 parent 6240ca7 commit 4e7c64b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tensorrt_llm/serve/cluster_storage.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ async def delete(self, key: str) -> bool:
9191
async def watch(self, key_prefix: str) -> WatchEventQueue:
9292
...
9393

94-
# unwatch the key prefix, if the key prefix is not in the watch list, raise an error
94+
# unwatch the key prefix, if the key prefix is not in the watch list, raise a KeyError
9595
async def unwatch(self, key_prefix: str) -> None:
9696
...
9797

@@ -452,6 +452,14 @@ def _get_lease(self, key: str, ttl: int = -1) -> etcd3.Lease:
452452
def client(self):
453453
return self._client
454454

455+
async def start(self):
456+
# nothing to do
457+
...
458+
459+
async def stop(self):
460+
# nothing to do
461+
...
462+
455463
async def set(self,
456464
key: str,
457465
value: str,

0 commit comments

Comments
 (0)