From f0b07df18cef904145562ab58f665c7c6b129c8a Mon Sep 17 00:00:00 2001 From: Wei Ouyang Date: Sun, 22 Sep 2024 18:04:32 -0700 Subject: [PATCH] Expose reconnection_token_life_time --- hypha/VERSION | 2 +- hypha/websocket.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hypha/VERSION b/hypha/VERSION index 4ca2148e..eb0075af 100644 --- a/hypha/VERSION +++ b/hypha/VERSION @@ -1,3 +1,3 @@ { - "version": "0.20.35.post6" + "version": "0.20.35.post7" } diff --git a/hypha/websocket.py b/hypha/websocket.py index 77b09534..347afae5 100644 --- a/hypha/websocket.py +++ b/hypha/websocket.py @@ -273,6 +273,7 @@ async def send_bytes(data): "client_id": client_id, "user": user_info.model_dump(), "reconnection_token": reconnection_token, + "reconnection_token_life_time": self.store.reconnection_token_life_time, } await websocket.send_text(json.dumps(conn_info)) while not self._stop: