39 lines
988 B
PHP
39 lines
988 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
/**
|
||
|
* This file is part of Hyperf.
|
||
|
*
|
||
|
* @link https://www.hyperf.io
|
||
|
* @document https://hyperf.wiki
|
||
|
* @contact group@hyperf.io
|
||
|
* @license https://github.com/hyperf/hyperf/blob/master/LICENSE
|
||
|
*/
|
||
|
return [
|
||
|
'default' => [
|
||
|
'host' => '47.105.180.123',
|
||
|
'port' => 5672,
|
||
|
'user' => 'yuandong',
|
||
|
'password' => 'yuandong',
|
||
|
'vhost' => 'im',
|
||
|
'pool' => [
|
||
|
'min_connections' => 1,
|
||
|
'max_connections' => 10,
|
||
|
'connect_timeout' => 10.0,
|
||
|
'wait_timeout' => 3.0,
|
||
|
'heartbeat' => -1,
|
||
|
],
|
||
|
'params' => [
|
||
|
'insist' => false,
|
||
|
'login_method' => 'AMQPLAIN',
|
||
|
'login_response' => null,
|
||
|
'locale' => 'en_US',
|
||
|
'connection_timeout' => 3.0,
|
||
|
'read_write_timeout' => 6.0,
|
||
|
'context' => null,
|
||
|
'keepalive' => false,
|
||
|
'heartbeat' => 3,
|
||
|
],
|
||
|
],
|
||
|
];
|