From 15c9ad23fe1e8df7e97128730b489bf983f1016b Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 20 Jan 2023 14:06:55 +0100 Subject: [PATCH] fix: stucked containers --- 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 b3214ecee..456faa513 100644 --- a/apps/api/src/index.ts +++ b/apps/api/src/index.ts @@ -172,9 +172,9 @@ const host = '0.0.0.0'; }, 60000 * 15); // Cleanup stucked containers (not defined in Coolify, but still running and managed by Coolify) - setInterval(async () => { - await cleanupStuckedContainers(); - }, 60000 * 5); + // setInterval(async () => { + // await cleanupStuckedContainers(); + // }, 60000 * 5); // checkProxies, checkFluentBit & refresh templates setInterval(async () => { @@ -206,8 +206,8 @@ const host = '0.0.0.0'; getTagsTemplates(), getArch(), getIPAddress(), - configureRemoteDockers(), - cleanupStuckedContainers() + configureRemoteDockers() + // cleanupStuckedContainers() ]); } catch (error) { console.error(error);