From df31e473131c8f93a3b9e62dfa2f595bf37ea747 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 28 Sep 2022 08:39:33 +0200 Subject: [PATCH] fix: disable development low disk space --- apps/api/src/lib/common.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/api/src/lib/common.ts b/apps/api/src/lib/common.ts index 7bc8b2da6..5435e976e 100644 --- a/apps/api/src/lib/common.ts +++ b/apps/api/src/lib/common.ts @@ -1651,10 +1651,10 @@ export async function cleanupDockerStorage(dockerId, lowDiskSpace, force) { } } catch (error) { } if (lowDiskSpace || force) { - if (isDev) { - if (!force) console.log(`[DEV MODE] Low disk space: ${lowDiskSpace}`); - return; - } + // if (isDev) { + // if (!force) console.log(`[DEV MODE] Low disk space: ${lowDiskSpace}`); + // return; + // } try { await executeDockerCmd({ dockerId,