Closed fuuhoo closed 2 months ago
Could you please attempt this with logging enabled? It's possible the task is being shut down before the message is actually sent (calling publish
adds the message to a queue; consider using wait_for_publish
). Sorry - I'm not familiar with celery so cannot make any further suggestions (if you can provide more info someone may be able to help further - assuming this is still an issue).
Closing due to inactivity. If this is still an issue with the current release then please feel free to reopen (but more info will be needed to assist us to identify the issue).
myMQtt.py
When I call the client in celery's tasks file and publish the message, there will be no error or wraining output, but I can't actually get data. Onlineperson broadcasts is a scheduled task in django.anyone help?
当我在celery的tasks文件中调用客户端并且发布消息的时候,会没有报错,但是实际上收不到数据。onlinePersonBroadcas是一个定时任务