Skip to content

Commit

Permalink
Update ProcessPackageSatis.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed May 29, 2024
1 parent c3fc074 commit 1b92ccc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/Jobs/ProcessPackageSatis.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,14 @@ public function handle()
$packageModel->clone_status = Package::CLONE_STATUS_SUCCESS;
$packageModel->save();

// Maker rsync on another job
dispatch_sync(new ProcessPackageSatisRsync([
// // Maker rsync on another job
$rsync = new ProcessPackageSatisRsync([
'packageId' => $packageModel->id,
'packageName' => $packageModel->name,
'satisRepositoryOutputPath' => $status['output_path']
]));
]);
$rsync->handle();

}

public function failed($error)
Expand Down

0 comments on commit 1b92ccc

Please sign in to comment.