This commit is contained in:
Girish Ramakrishnan
2026-03-12 23:23:23 +05:30
parent ff49759f42
commit f12b4faf34
99 changed files with 109 additions and 108 deletions

View File

@@ -40,7 +40,7 @@ import util from 'node:util';
import volumes from './volumes.js';
import _ from './underscore.js';
const { log, trace } = logger('apps');
const { log } = logger('apps');
const shell = shellModule('apps');
const PORT_TYPE_TCP = 'tcp';
@@ -1071,7 +1071,8 @@ async function onTaskFinished(error, appId, installationState, taskId, auditSour
}
// this can race with an new install task but very unlikely
log(`onTaskFinished: checking to stop unused services. hasPending: ${appTaskManager.hasPendingTasks()}`)
log(`onTaskFinished: checking to stop unused services. hasPending: ${appTaskManager.hasPendingTasks()}`);
if (!appTaskManager.hasPendingTasks()) safe(services.stopUnusedServices(), { debug: log });
}