Compare commits

...

2 Commits

Author SHA1 Message Date
Dillon Ngo 1bcad555a0 Second high priority queue through database 2024-02-13 22:06:38 +08:00
Dillon Ngo f83c89b5f3 Second high priority queue through database 2024-01-26 04:03:06 +08:00
2 changed files with 9 additions and 1 deletions
@@ -64,7 +64,7 @@ class ListPackingListsJobLogic extends AbstractControllerLogic
$userInfo
);
ListPackingListsJob::dispatch($listGenericJobObject);
ListPackingListsJob::dispatch($listGenericJobObject)->onQueue('high_priority');
$result = [];
$result['job_id'] = $jobId;
+8
View File
@@ -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',