mirror of
https://github.com/elyby/accounts.git
synced 2024-11-10 07:22:00 +05:30
Переход на yii2-queue с amqp-interop реализацией для RabbitMQ
This commit is contained in:
parent
22c29a3331
commit
33091aaefa
@ -97,7 +97,8 @@ return [
|
||||
'namespace' => getenv('STATSD_NAMESPACE') ?: 'ely.accounts.' . gethostname() . '.app',
|
||||
],
|
||||
'queue' => [
|
||||
'class' => yii\queue\amqp\Queue::class,
|
||||
'class' => yii\queue\amqp_interop\Queue::class,
|
||||
'driver' => yii\queue\amqp_interop\Queue::ENQUEUE_AMQP_LIB,
|
||||
'host' => getenv('RABBITMQ_HOST') ?: 'rabbitmq',
|
||||
'port' => getenv('RABBITMQ_PORT') ?: 5672,
|
||||
'user' => getenv('RABBITMQ_USER'),
|
||||
|
@ -26,7 +26,8 @@
|
||||
"webmozart/assert": "^1.2.0",
|
||||
"goaop/framework": "~2.1.2",
|
||||
"domnikl/statsd": "^2.6",
|
||||
"yiisoft/yii2-queue": "dev-fix_amqp_error_behavior#385e1cc0afcce0d6712080beb11922735e72f59d"
|
||||
"yiisoft/yii2-queue": "~2.0.2",
|
||||
"enqueue/amqp-lib": "^0.8.11"
|
||||
},
|
||||
"require-dev": {
|
||||
"yiisoft/yii2-debug": "*",
|
||||
@ -55,10 +56,6 @@
|
||||
{
|
||||
"type": "git",
|
||||
"url": "git@github.com:erickskrauch/Codeception.git"
|
||||
},
|
||||
{
|
||||
"type": "git",
|
||||
"url": "git@github.com:erickskrauch/yii2-queue.git"
|
||||
}
|
||||
],
|
||||
"autoload": {
|
||||
|
Loading…
Reference in New Issue
Block a user