celery 任务不会终止
我创建了一个任务,其中程序上传文件,并且任务按预期运行,即它成功上传文件,但即使在任务完成工作后,任务也不会“终止”,状态仍然保持待处理。我该如何解决这个问题?
I've created a task where the program uploads a file and the task acts as expected i.e it successfully uploads the file but even after the task does its work, the task does not "terminate", the state still remains PENDING. How can I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
来自 celery 文档:
您确定任务干净利落地完成了任务吗?最好贴出代码。
From the celery docs:
Are you sure the task finishes what it does cleanly? Best to post code.