mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-23 06:24:21 +00:00
update packinglists from vt portal jobs and schedule
This commit is contained in:
@@ -16,7 +16,7 @@ class FetchLoadedContainersFromVTPortalJob implements ShouldQueue
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
|
||||
public $timeout = 300;
|
||||
public $timeout = 900;
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
|
||||
@@ -16,7 +16,7 @@ class FetchWarehouseReceiveListFromVTPortalJob implements ShouldQueue
|
||||
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
|
||||
|
||||
|
||||
public $timeout = 300;
|
||||
public $timeout = 900;
|
||||
|
||||
/**
|
||||
* Execute the job.
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ return [
|
||||
'driver' => 'database',
|
||||
'table' => 'jobs',
|
||||
'queue' => 'default',
|
||||
'retry_after' => 90,
|
||||
'retry_after' => 3600,
|
||||
'after_commit' => false,
|
||||
],
|
||||
|
||||
|
||||
@@ -21,14 +21,13 @@ class OrdersTableSeeder extends Seeder
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
FetchLoadedContainersFromVTPortalJob::dispatch();
|
||||
//
|
||||
// FetchWarehouseReceiveListFromVTPortalJob::withChain([
|
||||
// new FetchLoadedContainersFromVTPortalJob,
|
||||
// new FetchPackingListFromVTPortalJob,
|
||||
// new FetchContainersStatusUpdateFromVTPortalJob,
|
||||
// new FetchDeliveryListFromVTPortalJob
|
||||
// ])->dispatch();
|
||||
|
||||
FetchWarehouseReceiveListFromVTPortalJob::withChain([
|
||||
new FetchLoadedContainersFromVTPortalJob,
|
||||
new FetchPackingListFromVTPortalJob,
|
||||
new FetchContainersStatusUpdateFromVTPortalJob,
|
||||
new FetchDeliveryListFromVTPortalJob
|
||||
])->dispatch();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user