fix: renames

This commit is contained in:
fir4tozden
2025-12-01 00:58:02 +03:00
parent e3832eff07
commit fbd095334c
2 changed files with 3 additions and 7 deletions
+2 -6
View File
@@ -1,7 +1,5 @@
import { import {
cleanUpDockerBuilder, cleanupAll,
cleanUpSystemPrune,
cleanUpUnusedImages,
findBackupById, findBackupById,
findScheduleById, findScheduleById,
findServerById, findServerById,
@@ -91,9 +89,7 @@ export const runJobs = async (job: QueueJob) => {
logger.info("Server is inactive"); logger.info("Server is inactive");
return; return;
} }
await cleanUpUnusedImages(serverId); await cleanupAll(serverId);
await cleanUpDockerBuilder(serverId);
await cleanUpSystemPrune(serverId);
} else if (job.type === "schedule") { } else if (job.type === "schedule") {
const { scheduleId } = job; const { scheduleId } = job;
const schedule = await findScheduleById(scheduleId); const schedule = await findScheduleById(scheduleId);
+1 -1
View File
@@ -47,7 +47,7 @@ export const initCronJobs = async () => {
`SERVER-BACKUP[${new Date().toLocaleString()}] Running Cleanup ${name}`, `SERVER-BACKUP[${new Date().toLocaleString()}] Running Cleanup ${name}`,
); );
await cleanupImages(serverId); await cleanupAll(serverId);
await sendDockerCleanupNotifications( await sendDockerCleanupNotifications(
admin.user.id, admin.user.id,