From 74abea98fbf503ea3bc9916f78630a8003f5d2b9 Mon Sep 17 00:00:00 2001 From: Sigmar Stefansson Date: Mon, 15 Jan 2024 11:01:25 +0000 Subject: [PATCH 1/2] fix running --- jupyterlab/staging/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterlab/staging/package.json b/jupyterlab/staging/package.json index 49ab383c08d6..25abf7735f5e 100644 --- a/jupyterlab/staging/package.json +++ b/jupyterlab/staging/package.json @@ -89,7 +89,7 @@ "@jupyterlab/rendermime": "~4.0.10", "@jupyterlab/rendermime-extension": "~4.0.10", "@jupyterlab/rendermime-interfaces": "~3.8.10", - "@jupyterlab/running": "../../packages/services", + "@jupyterlab/running": "../../packages/running", "@jupyterlab/running-extension": "~4.0.10", "@jupyterlab/services": "../../packages/services", "@jupyterlab/settingeditor": "~4.0.10", From b80f713f6a6cffcae0d453b7fd3cf91674c09165 Mon Sep 17 00:00:00 2001 From: Sigmar Stefansson Date: Mon, 15 Jan 2024 11:28:19 +0000 Subject: [PATCH 2/2] fix number of polling delay seconds --- packages/services/src/session/restapi.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/services/src/session/restapi.ts b/packages/services/src/session/restapi.ts index f345241ac8fc..3fecb96ac1fe 100644 --- a/packages/services/src/session/restapi.ts +++ b/packages/services/src/session/restapi.ts @@ -128,7 +128,7 @@ export async function startSession( body: JSON.stringify(bodyjson) }; await sleep(2000); - console.log("Waiting for kernel in session " + data.id + " for " + count + " seconds"); + console.log("Waiting for kernel in session " + data.id + " for " + 2*count + " seconds"); } } if (count >= 300) {