diff --git a/docs/migration-guide.md b/docs/migration-guide.md index ee3d772b..d56d22cd 100644 --- a/docs/migration-guide.md +++ b/docs/migration-guide.md @@ -133,6 +133,7 @@ To connect to the server, instead of using the `imjoy-rpc` module, you will need We also changed our versioning strategy, we use the same version number for the server and client, so it's easier to match the client and server versions. For example, `hypha-rpc` version `0.20.42` is compatible with Hypha server version `0.20.42`. + #### 2. Change the connection method and use camelCase for service function names In JavaScript, the connection method and service function names use camelCase. diff --git a/hypha/VERSION b/hypha/VERSION index 4e335116..408c0c83 100644 --- a/hypha/VERSION +++ b/hypha/VERSION @@ -1,3 +1,3 @@ { - "version": "0.20.42.post2" + "version": "0.20.42 " } diff --git a/hypha/apps.py b/hypha/apps.py index b324061b..040fa192 100644 --- a/hypha/apps.py +++ b/hypha/apps.py @@ -402,7 +402,10 @@ async def start( runner = random.choice(await self.get_runners()) full_client_id = workspace + "/" + client_id - metadata = { + await runner.start( + url=local_url, session_id=full_client_id, time_limit=time_limit + ) + self._sessions[full_client_id] = { "id": full_client_id, "app_id": app_id, "workspace": workspace, diff --git a/hypha/templates/ws/index.html b/hypha/templates/ws/index.html index ef78e81b..9d9eeaf0 100644 --- a/hypha/templates/ws/index.html +++ b/hypha/templates/ws/index.html @@ -161,7 +161,6 @@