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); }, 60000 * 15);
// Cleanup stucked containers (not defined in Coolify, but still running and managed by Coolify) // Cleanup stucked containers (not defined in Coolify, but still running and managed by Coolify)
setInterval(async () => { // setInterval(async () => {
await cleanupStuckedContainers(); // await cleanupStuckedContainers();
}, 60000 * 5); // }, 60000 * 5);
// checkProxies, checkFluentBit & refresh templates // checkProxies, checkFluentBit & refresh templates
setInterval(async () => { setInterval(async () => {
@ -206,8 +206,8 @@ const host = '0.0.0.0';
getTagsTemplates(), getTagsTemplates(),
getArch(), getArch(),
getIPAddress(), getIPAddress(),
configureRemoteDockers(), configureRemoteDockers()
cleanupStuckedContainers() // cleanupStuckedContainers()
]); ]);
} catch (error) { } catch (error) {
console.error(error); console.error(error);