We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
for ($i=1;$i<=50000;$i++){ sync_publish(TestBuilder::instance(),$msg,'',[],true); } 调用时,发现channel一直涨,如何在发布时释放掉channel
for ($i=1;$i<=50000;$i++){ sync_publish(TestBuilder::instance(),$msg,'',[],true); }
The text was updated successfully, but these errors were encountered:
rabbitmq client的channel本身会复用,只有在闲置channel不够的情况下新增,循环测试中,由于循环迭代速度较快,消息发布的过程中channel都不存在闲置的情况,这时channel就会新增;
使用fo循环进行消息发送时,请酌情调高rabbitmq server的channel配置上限,并在webma-rabbitmq的配置中开启连接复用
Sorry, something went wrong.
升级至2.1.5,配置中开启reuse_channel(reuse_channel=true),详情查看readme
No branches or pull requests
for ($i=1;$i<=50000;$i++){ sync_publish(TestBuilder::instance(),$msg,'',[],true); }
调用时,发现channel一直涨,如何在发布时释放掉channel
The text was updated successfully, but these errors were encountered: