Merge pull request #7224 from turbo124/v5-develop

Fixes for backup update command
This commit is contained in:
David Bomba 2022-02-20 18:22:42 +11:00 committed by GitHub
commit dd2fe1084c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ class BackupUpdate extends Command
{ {
set_time_limit(0); set_time_limit(0);
Backup::chunk(100, function ($backups) { Backup::whereRaw('html_backup != "" OR html_backup IS NOT NULL')->chunk(5000, function ($backups) {
foreach ($backups as $backup) { foreach ($backups as $backup) {
if($backup->activity->client()->exists()){ if($backup->activity->client()->exists()){