Tmporary disable removing downloaded reels
All checks were successful
Push image to registry / build-image (push) Successful in 5m25s

This commit is contained in:
2025-06-04 14:41:41 +02:00
parent 5599e170a7
commit 235440078d

View File

@ -187,12 +187,12 @@ class InstagramRepostJob extends BrowserJob implements ShouldBeUniqueUntilProces
dump($e->getMessage());
} finally {
// Removes all videos in the download folder
$files = glob($this->downloadFolder . '*'); // Get all files in the download folder
foreach ($files as $file) {
if (is_file($file)) {
unlink($file); // Delete the file
}
}
// $files = glob($this->downloadFolder . '*'); // Get all files in the download folder
// foreach ($files as $file) {
// if (is_file($file)) {
// unlink($file); // Delete the file
// }
// }
}
}