From c80ebf73ee463f936146beecfca1c8c2aaafaa50 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 25 Aug 2022 10:47:58 +0200 Subject: [PATCH] hmm --- apps/api/src/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts index 3f4876c94..5492331e6 100644 --- a/apps/api/src/index.ts +++ b/apps/api/src/index.ts @@ -107,11 +107,11 @@ fastify.listen({ port, host }, async (err: any, address: any) => { await scheduler.start('cleanupPrismaEngines'); await scheduler.start('checkProxies'); - setInterval(async () => { - if (!scheduler.workers.has('deployApplication')) { - scheduler.run('deployApplication'); - } - }, 2000) + // setInterval(async () => { + // if (!scheduler.workers.has('deployApplication')) { + // scheduler.run('deployApplication'); + // } + // }, 2000) // Check for update & if no build is running setInterval(async () => {