mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Setup priority queue with AWS SQS
This commit is contained in:
@@ -75,7 +75,7 @@ class ListPackingListsJobLogic extends AbstractControllerLogic
|
||||
// ListPackingListsJob::dispatch($listGenericJobObject)->onQueue('hellokitty2'); //cief todo: testing sqs
|
||||
// }
|
||||
// }
|
||||
ListPackingListsJob::dispatch($listGenericJobObject)->onQueue(env('SQS_PREFIX', '').'high_priority');
|
||||
ListPackingListsJob::dispatch($listGenericJobObject)->onQueue(env('SQS_QUEUENAME_PREFIX', '').'high_priority');
|
||||
|
||||
$result = [];
|
||||
$result['job_id'] = $jobId;
|
||||
|
||||
@@ -37,8 +37,8 @@ environments:
|
||||
cli-memory: 512
|
||||
# queue-memory: 1024
|
||||
queues:
|
||||
- default-development #cief todo: testing sqs
|
||||
- high_priority-development #cief todo: testing sqs
|
||||
- shipping-portal-default-development #cief todo: testing sqs
|
||||
- shipping-portal-high_priority-development #cief todo: testing sqs
|
||||
# gateway-version: 2
|
||||
database: cief-rds-mysql
|
||||
storage: shipping-portal-development
|
||||
|
||||
Reference in New Issue
Block a user