Django Celery ConnectionError: Too many heartbeats missed

前端 未结 1 1176
余生分开走
余生分开走 2021-02-06 04:03

Question

How can I solve the ConnectionError: Too many heartbeats missed from Celery?

Example Error

[2013-02-11 15:15:38,513: ER         


        
相关标签:
1条回答
  • 2021-02-06 04:28

    How often does it happen?

    It may be that the heartbeat monitoring is not working properly in your case. The heartbeat support was introduced fairly recently, so there may be bugs. I cannot reproduce this here, so I need more data to understand what is going on.

    You can disable heartbeats by setting BROKER_HEARTBEAT=0. If this is a bug then the worker should run fine, but it will not be able to quickly detect a broken connection. Being unable to detect connection loss is only a problem in some environments (usually caused by specific router/firewall configurations)

    0 讨论(0)
提交回复
热议问题