From 1d4b7b7540118af5f96ac16a1dc4cfd9c5929dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Test=C3=A9?= Date: Mon, 24 Jun 2024 17:03:53 +0200 Subject: [PATCH] fix(slab): wait 15 mins for instance to be ready instead of 7 --- dist/index.js | 2 +- src/slab.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 398bc79..529d1dc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -49766,7 +49766,7 @@ async function startInstanceRequest() { } async function waitForInstance(taskId, taskName) { - for (let i = 0; i < 30; i++) { + for (let i = 0; i < 60; i++) { await utils.sleep(15) try { diff --git a/src/slab.js b/src/slab.js index d06396e..f2fcf88 100644 --- a/src/slab.js +++ b/src/slab.js @@ -58,7 +58,7 @@ async function startInstanceRequest() { } async function waitForInstance(taskId, taskName) { - for (let i = 0; i < 30; i++) { + for (let i = 0; i < 60; i++) { await utils.sleep(15) try {