mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-28 17:04:06 +00:00
Merge branch 'dillon/34.6-jenkins-vapor' into vapor/production
This commit is contained in:
@@ -45,9 +45,7 @@ class ProcessYDPortalDataV2Command extends Command
|
||||
$jobs = array_merge($jobs, $this->fetchPackingListsFromYdPortalV2CommandJobs());
|
||||
$jobs = array_merge($jobs, $this->fetchContainersFromYdPortalV2CommandJobs());
|
||||
$jobs = array_merge($jobs, $this->fetchContainersUpdatesFromYdPortalV2CommandJob());
|
||||
// $jobs = array_merge($jobs, $this->fetchDeliveryUpdatesFromYdPortalV2CommandJobs());
|
||||
|
||||
$jobsWithDelay = $this->fetchDeliveryUpdatesFromYdPortalV2CommandJobs();
|
||||
$jobs = array_merge($jobs, $this->fetchDeliveryUpdatesFromYdPortalV2CommandJobs());
|
||||
|
||||
// The following job is intentionally excluded
|
||||
////$jobs = array_merge($jobs, $this->fetchOrderListsFromYdPortalV2CommandJob());
|
||||
@@ -57,10 +55,6 @@ class ProcessYDPortalDataV2Command extends Command
|
||||
foreach ($jobs as $job) {
|
||||
dispatch($job);
|
||||
}
|
||||
|
||||
foreach ($jobsWithDelay as $job) {
|
||||
dispatch($job)->delay(now()->addSeconds(2));
|
||||
}
|
||||
}
|
||||
|
||||
private function fetchPackingListsFromYdPortalV2CommandJobs(){
|
||||
@@ -143,7 +137,7 @@ class ProcessYDPortalDataV2Command extends Command
|
||||
|
||||
$count = 0;
|
||||
foreach ($packingLists as $packingList) {
|
||||
if ($count >= 500) {
|
||||
if ($count >= 200) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user