diff --git a/packages/running/src/index.tsx b/packages/running/src/index.tsx index 9a5c081299cf..655d66c20d47 100644 --- a/packages/running/src/index.tsx +++ b/packages/running/src/index.tsx @@ -192,13 +192,13 @@ function Item(props: { ) : ( ))} - {typeof icon === 'string' ? ( - icon ? ( + {icon ? ( + typeof icon === 'string' ? ( - ) : undefined - ) : ( - - )} + ) : ( + + ) + ) : undefined} { + private _createSocket = (useProtocols = false) => { this._errorIfDisposed(); // Make sure the socket is clear diff --git a/packages/services/src/session/restapi.ts b/packages/services/src/session/restapi.ts index 47f30f203fa1..f345241ac8fc 100644 --- a/packages/services/src/session/restapi.ts +++ b/packages/services/src/session/restapi.ts @@ -112,7 +112,7 @@ export async function startSession( }; let data = {"id": "", "execution_state": "waiting"}; let count = 0 - while (count++ < 600) { + while (count++ < 300) { const response = await ServerConnection.makeRequest(url, init, settings); if (response.status !== 201) { throw await ServerConnection.ResponseError.create(response);