如何减少/指定芹菜花中的连接数量?
我正在有限的服务主机上运行一个应用程序,其中Redis服务器最多有50个连接。我已经配置了我的Web应用程序,以使用一致的20个REDIS连接。但是,如果我推出花朵以检查Redis,我的连接会跳到45个。如何减少启动的连接数量?
我以为我通过提出花开始命令找到了一种方法:
celery -A myapp flower --redis_max_connections=2 --concurrency=4 -l info
但是这似乎没有改变任何东西...我想念什么?
I am running an app on a limited service host, where my Redis server has a maximum of 50 connections. I have configured my web app to be using a consistent 20 Redis connections. However, if I launch Flower to inspect the Redis, my connections jump up to 45. How can I reduce how many connections Flower is launching?
I thought I found a way by making my flower start command:
celery -A myapp flower --redis_max_connections=2 --concurrency=4 -l info
But this didn't seem to change anything... What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论