mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-21 13:34:00 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1bcad555a0 | |||
| f83c89b5f3 |
@@ -64,7 +64,7 @@ class ListPackingListsJobLogic extends AbstractControllerLogic
|
||||
$userInfo
|
||||
);
|
||||
|
||||
ListPackingListsJob::dispatch($listGenericJobObject);
|
||||
ListPackingListsJob::dispatch($listGenericJobObject)->onQueue('high_priority');
|
||||
|
||||
$result = [];
|
||||
$result['job_id'] = $jobId;
|
||||
|
||||
@@ -34,6 +34,14 @@ return [
|
||||
'driver' => 'sync',
|
||||
],
|
||||
|
||||
'high_priority' => [
|
||||
'driver' => 'database',
|
||||
'table' => 'jobs',
|
||||
'queue' => 'high_priority',
|
||||
'retry_after' => 3600,
|
||||
'after_commit' => false,
|
||||
],
|
||||
|
||||
'database' => [
|
||||
'driver' => 'database',
|
||||
'table' => 'jobs',
|
||||
|
||||
Reference in New Issue
Block a user