使用redis作为broker,网络断开后再重连之后,celery beat可以正常重新连接,但是celery worker会报错consumer: Connection to broker lost. Trying to re-establish the connection…
ConnectionResetError: [Errno 104] Connection reset by peer
这时候需要设置 REDIS_BACKEND_HEALTH_CHECK_INTERVAL = 5,健康检查
celery使用redis后端,网络超时后不会自动重连问题consumer: Connection to broker lost. Trying to re-establish the connect
最新推荐文章于 2024-03-30 10:53:07 发布