Explorar o código

chore(create): Increase pause in CI mode before closing

Attempting to fix intermittent segfault on macOS node 12
Michael Bromley %!s(int64=5) %!d(string=hai) anos
pai
achega
fa5caf54ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/create/src/create-vendure-app.ts

+ 1 - 1
packages/create/src/create-vendure-app.ts

@@ -249,7 +249,7 @@ async function createApp(
                         app = await populate(bootstrapFn, initialDataPath);
                     }
                     // Pause to ensure the worker jobs have time to complete.
-                    await new Promise((resolve) => setTimeout(resolve, isCi ? 10000 : 2000));
+                    await new Promise((resolve) => setTimeout(resolve, isCi ? 20000 : 2000));
                     await app.close();
                 } catch (e) {
                     console.log(e);