From 5355b31bcbaea0805e7336bee00008acfc76e4a0 Mon Sep 17 00:00:00 2001 From: omair saleh Date: Mon, 30 Aug 2021 01:09:16 +0800 Subject: [PATCH] update packinglists from vt portal jobs and schedule --- app/Classes/Jobs/FetchPackingListFromVTPortalJob.php | 2 +- .../Processors/FetchPackingListFromVTPortalProcessor.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Classes/Jobs/FetchPackingListFromVTPortalJob.php b/app/Classes/Jobs/FetchPackingListFromVTPortalJob.php index adaa9dc6..17bf1394 100644 --- a/app/Classes/Jobs/FetchPackingListFromVTPortalJob.php +++ b/app/Classes/Jobs/FetchPackingListFromVTPortalJob.php @@ -15,7 +15,7 @@ class FetchPackingListFromVTPortalJob implements ShouldQueue use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; - public $timeout = 900; + public $timeout = 1800; /** * Execute the job. diff --git a/app/Classes/Modules/PackingLists/Processors/FetchPackingListFromVTPortalProcessor.php b/app/Classes/Modules/PackingLists/Processors/FetchPackingListFromVTPortalProcessor.php index b1b29e37..ae8277c9 100644 --- a/app/Classes/Modules/PackingLists/Processors/FetchPackingListFromVTPortalProcessor.php +++ b/app/Classes/Modules/PackingLists/Processors/FetchPackingListFromVTPortalProcessor.php @@ -45,7 +45,6 @@ class FetchPackingListFromVTPortalProcessor try { $packingLists = PackingList::where('type', '=', PackingListType::SHIPPING_PACKING_LIST)->where('status', '=', ApprovalStatus::PENDING_VERIFICATION)->get(); - Log::error(count($packingLists)); foreach($packingLists as $packingList){ try { $filter = '["PoNumber:=%js%\"'.$packingList->reference.'\"\u0000"]';