rabbitmq - How to turn off retries in aio-pika
问题描述
I'm using aio-pika
and noticed when running my worker is getting a broken pipe followed by retries.
When I turned
await queue.consume(on_message, no_ack=True)
the retries stopped but now my admin panel always show 0 for ready, unacked and total.
First question, is there a way to turn off retries, but still have acks show in the admin panel so it is easier to see what is going on?
I'm only in development now, and running with a debugger, and suspect that is why my retries are occurring. Has anyone else experienced this?
Any feedback is appreciated.
解决方案
推荐阅读
- range - 如何使用偏移变量选择多个单元格但保持前 2 行中的内容被选中
- ios - 推送通知到达时获取数据 Swift 4.2
- python - 在 python 中使用 meshlab 函数
- javascript - 带有模块和主要转译的 Webpack
- java - 尝试使用 fetch 类型的惰性序列化实体
- java - 如何在 Vertx 页面上从 MariaDB 获取和显示数据?
- r - 根据 hcharter 中的给定序列设置热图颜色范围
- python - 管道几个熊猫数据框
- node.js - MongoDB 按 ID 分组,然后按日期分组
- ruby-on-rails - 如何通过 has_one 关系建立这个 has_many 关系?