当前位置:网站首页>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
边栏推荐
- 16、 Launch file label of ROS (II)
- Idea2020.1.4 packages package collapse
- Introduction to MITK
- iPhone苹果手机上一些不想让他人看到的APP应用图标怎么设置手机桌面上的APP应用设置隐藏不让显示在手机桌面隐藏后自己可以正常使用的方法?
- Search Pfam with Hmmer
- URP下使用GL进行绘制方法
- Chapter 3 stack, queue and array
- 23、 TF coordinate transformation (III): dynamic coordinate transformation
- 企业微信客服链接,企业微信客服聊天
- How to conduct risk assessment related to intellectual property rights
猜你喜欢

即刻体验 | 借助 CTS-D 进一步提升应用设备兼容性
![What is the difference between UTF-8, utf-16 and UTF-32 character encoding? [graphic explanation]](/img/a9/336390db64d871fa1655800c1e0efc.png)
What is the difference between UTF-8, utf-16 and UTF-32 character encoding? [graphic explanation]

Multi merchant mall system function disassembly lecture 17 - platform side order list

charles如何安装并使用

35道MySQL面试必问题图解,小白都能看懂

Machine learning related concepts

Chapter II linear table

Talk about low code / zero code tools

MLX90640 红外热成像仪传感器模块开发笔记(八)

Establishment and traversal of binary tree (implemented in C language)
随机推荐
4519. 正方形数组的数目
Why do enterprises need user autonomous digital identity
Keras reported an error using tensorboard: cannot stop profiling
PHP magic method
MITK create module
@Solution to DS ('slave') multi data source compatible transaction problem
How to gracefully encapsulate anonymous inner classes (DSL, high-order functions) in kotlin
Feeling about software development work in the second anniversary
7、 Detailed explanation of C language function definition
Enterprise wechat customer service link, enterprise wechat customer service chat
20、 ROS distributed communication
Chapter I Introduction
使用cpolar发布树莓派网页(apache2网页的发布)
SQL labs detailed problem solving process (less1-less10)
The second 1024, come on!
使用cpolar发布树莓派网页(apache2的安装测试)
VTK vtkcontourwidget extracts regions of interest
Chapter 3 stack, queue and array
Foundation of knowledge atlas (II) - knowledge expression system of knowledge atlas
RepVGG论文详解以及使用Pytorch进行模型复现