Update ProcessHostingSubscriptionBackup.php

This commit is contained in:
Bozhidar 2024-05-07 17:40:36 +03:00
parent e4c172218a
commit 030d73cf77

View file

@ -48,6 +48,10 @@ class ProcessHostingSubscriptionBackup implements ShouldQueue
$backupDone = true;
break;
}
if ($findHostingSubscriptionBackup->status == BackupStatus::Failed) {
echo "Backup failed\n";
break;
}
sleep(4);
}