Update ProcessHostingSubscriptionBackup.php

This commit is contained in:
Bozhidar 2024-05-07 17:40:36 +03:00
parent e4c172218a
commit 030d73cf77
1 changed files with 4 additions and 0 deletions

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);
}