mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Переход на yii2-queue с amqp-interop реализацией для RabbitMQ
This commit is contained in:
@@ -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'),
|
||||
|
Reference in New Issue
Block a user