fix: stucked containers

This commit is contained in:
Andras Bacsai 2023-01-20 14:06:55 +01:00
parent 578bb12562
commit 15c9ad23fe

View File

@ -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);