File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ class Configuration extends Component
4242 'ssl_context ' => null ,
4343 'keepalive ' => false ,
4444 'heartbeat ' => 0 ,
45+ 'channel_rpc_timeout ' => 0.0
4546 ],
4647 ],
4748 'exchanges ' => [
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ php composer.phar require mikemadisonweb/yii2-rabbitmq
2020```
2121or add
2222``` json
23- "mikemadisonweb/yii2-rabbitmq" : " ^2.0.0 "
23+ "mikemadisonweb/yii2-rabbitmq" : " ^2.1.1 "
2424```
2525to the require section of your ` composer.json ` file.
2626
@@ -258,6 +258,7 @@ $rabbitmq_defaults = [
258258 'ssl_context' => null,
259259 'keepalive' => false,
260260 'heartbeat' => 0,
261+ 'channel_rpc_timeout' => 0.0
261262 ],
262263 ],
263264 'exchanges' => [
Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ public function createConnection() : AbstractConnection
4343 $ this ->_parameters ['read_write_timeout ' ],
4444 $ this ->_parameters ['ssl_context ' ],
4545 $ this ->_parameters ['keepalive ' ],
46- $ this ->_parameters ['heartbeat ' ]
46+ $ this ->_parameters ['heartbeat ' ],
47+ $ this ->_parameters ['channel_rpc_timeout ' ]
4748 );
4849 }
4950
Original file line number Diff line number Diff line change 1313 "require" : {
1414 "php" : " ^7.0" ,
1515 "yiisoft/yii2" : " ^2.0" ,
16- "php-amqplib/php-amqplib" : " ^2.7 "
16+ "php-amqplib/php-amqplib" : " ^2.9 "
1717 },
1818 "require-dev" : {
1919 "phpunit/phpunit" : " ^6.4" ,
You can’t perform that action at this time.
0 commit comments