fix: make sure resources are deleted in async mode

This commit is contained in:
Andras Bacsai
2024-02-08 13:10:29 +01:00
parent 548304765c
commit 23d121d67a
5 changed files with 88 additions and 78 deletions

View File

@@ -28,8 +28,6 @@ class Init extends Command
return;
}
if ($full_cleanup) {
echo "Running init cleanupsg.\n";
// Required for falsely deleted coolify db
$this->restore_coolify_db_backup();
$this->cleanup_in_progress_application_deployments();
@@ -52,7 +50,6 @@ class Init extends Command
}
return;
}
echo "Running cleanups.\n";
$this->cleanup_stucked_helper_containers();
$this->call('cleanup:stucked-resources');
}