fix: disable development low disk space

This commit is contained in:
Andras Bacsai 2022-09-28 08:39:33 +02:00
parent cb9586270c
commit df31e47313

View File

@ -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,