From c98db390dc0ca1fe2342e284684b4b6da41d589e Mon Sep 17 00:00:00 2001 From: fir4tozden Date: Mon, 1 Dec 2025 01:11:38 +0300 Subject: [PATCH] chore: comments --- packages/server/src/utils/docker/utils.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/packages/server/src/utils/docker/utils.ts b/packages/server/src/utils/docker/utils.ts index 473e15bce..0f7065f20 100644 --- a/packages/server/src/utils/docker/utils.ts +++ b/packages/server/src/utils/docker/utils.ts @@ -145,7 +145,12 @@ export const getContainerByName = (name: string): Promise => { }); }; -/** Docker commands passed through this method are held during Docker's build or pull process. (https://github.com/dokploy/dokploy/pull/3064) */ +/** + * Docker commands passed through this method are held during Docker's build or pull process. + * + * https://github.com/dokploy/dokploy/pull/3064 + * https://github.com/fir4tozden + */ export const dockerSafeExec = (exec: string) => `CHECK_INTERVAL=10 echo "Preparing for execution..." @@ -260,7 +265,13 @@ export const cleanupAll = async (serverId?: string) => { await cleanupBuilders(serverId); await cleanupSystem(serverId); - // await cleanupInactiveContainers(); <-- This wasn't being used. If it's ready, it should be used here. - https://github.com/fir4tozden + /** + * This wasn't being used. If it's ready, it should be used here. + * + * https://github.com/dokploy/dokploy/pull/3064 + * https://github.com/fir4tozden + */ + // await cleanupInactiveContainers(); }; export const startService = async (appName: string) => {