fix: renames

This commit is contained in:
fir4tozden
2025-12-01 00:58:01 +03:00
parent e3832eff07
commit fbd095334c
2 changed files with 3 additions and 7 deletions

View File

@@ -1,7 +1,5 @@
import {
cleanUpDockerBuilder,
cleanUpSystemPrune,
cleanUpUnusedImages,
cleanupAll,
findBackupById,
findScheduleById,
findServerById,
@@ -91,9 +89,7 @@ export const runJobs = async (job: QueueJob) => {
logger.info("Server is inactive");
return;
}
await cleanUpUnusedImages(serverId);
await cleanUpDockerBuilder(serverId);
await cleanUpSystemPrune(serverId);
await cleanupAll(serverId);
} else if (job.type === "schedule") {
const { scheduleId } = job;
const schedule = await findScheduleById(scheduleId);

View File

@@ -47,7 +47,7 @@ export const initCronJobs = async () => {
`SERVER-BACKUP[${new Date().toLocaleString()}] Running Cleanup ${name}`,
);
await cleanupImages(serverId);
await cleanupAll(serverId);
await sendDockerCleanupNotifications(
admin.user.id,