当前位置:网站首页>celery 相关
celery 相关
2022-07-28 14:15:00 【[email protected]】
1,Received unregistered task of type 'xxxxx'.
这个问题其实就是task名与work消费时的名字不一致导致的
首先这些是发送到rabbitmq的task主要就是这个task的名字与
这个python下面的task不一致,就是下面这个的名字
2,you have not defined a default connection
这里我是用的celery加mongoengine,在worker运行时,到处理task的任务里面,有mongo查询语句,进而报错,这是由于没有mongo的连接导致的,虽然开始进行了mongo连接,但是在celery里面获取不到连接,所以需要重新进行连接,在任务里面加入
版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_38641816/article/details/110039717
边栏推荐
- @Solution to DS ('slave') multi data source compatible transaction problem
- iframe 标签
- Hard disk partition method
- JS -- realize the rotation chart (complete function)
- Reptile: from introduction to imprisonment (I) -- Concept
- When MySQL uses left join to query tables, the query is slow because the connection conditions are not properly guided
- CCSP 云安全设计原则都有哪些
- 3588. 排列与二进制
- 网络安全应急响应具体操作流程
- Chapter II linear table
猜你喜欢

Idea2020.1.4 packages package collapse

21、 TF coordinate transformation (I): coordinate MSG message

企业微信客服链接,企业微信客服聊天

MITK creates plug-ins and generates plug-ins

3588. 排列与二进制
Robot mathematics foundation 3D space position representation space position

The automatic prompt of vs code code is missing - a tick to solve it

Introduction to MITK

Image steganography method

Picture Trojan principle production prevention
随机推荐
Word creates a title list with automatic numbering
3564. 日期类
@DS('slave') 多数据源兼容事务问题解决方案
VTK notes - picker picker summary
Mysql使用left join连表查询时,因连接条件未加索引导致查询很慢
MLX90640 红外热成像仪传感器模块开发笔记(八)
PHP magic method
A problem -- about dragging div in JS, when I change div to round, there will be a bug
Application of edge technology and applet container in smart home
企业微信客服链接,企业微信客服聊天
Specific operation process of network security emergency response
2021 year end summary of gains and losses
The modified network card name of rocky foundation is eth0
Solution to the problem of high collapse caused by float (including all methods)
Mysql易错知识点整理(待更新)
Using keras to visualize the network model, failed to import pydot appears
UTF-8、UTF-16 和 UTF-32 字符编码之间的区别?[图文详解]
Iframe tag
边缘技术和小程序容器在智能家居中的应用
3511. 倒水问题