Comments (28)
在项目根目录执行make ps,查看mq,celery-beat和celery-worker状态是否正常
看看celery-beat和celery-worker,make logs可以看到
from anotherfasterrunner.
我本地windows能看到么 想执行celery-worker一直开不了
from anotherfasterrunner.
from anotherfasterrunner.
我本地windows能看到么 想执行celery-worker一直开不了
异步和定时任务,需要mq,celery-beat和celery-worker
from anotherfasterrunner.
我们这里自己部署的线上是有这些docker开启的
from anotherfasterrunner.
那线上的定时任务是否正常?
不正常就提供我上面说的日志
from anotherfasterrunner.
from anotherfasterrunner.
是的 我刚刚操作的
from anotherfasterrunner.
rabbitmq线上需要配置什么host么 还是不动 直接启动容器就行
from anotherfasterrunner.
rabbitmq线上需要配置什么host么 还是不动 直接启动容器就行
不需要,可以看快速启动的文档,先启动来验证。
环境变量后面在自己修改一下就好
from anotherfasterrunner.
定时任务没执行是不是因为 时间保存的格式 是 UTC
from anotherfasterrunner.
定时任务没执行是不是因为 时间保存的格式 是 UTC
有可能,可以用在线demo验证一下
from anotherfasterrunner.
在线demo没有效果
from anotherfasterrunner.
没效果指的是不能复现?还是不能使用
from anotherfasterrunner.
定时任务没运行
from anotherfasterrunner.
是跟utc时间有关系。。
这里改成3,也就是相当于北京时间的11点,就能正常触发,改成11,就不能触发。
from anotherfasterrunner.
我改成每2分钟一次好像不执行
from anotherfasterrunner.
celery 和rabbitmq连上了 但是触发worker能收到消息 不能消费
from anotherfasterrunner.
我改成每2分钟一次好像不执行
没问题的,在线demo你可以看看
from anotherfasterrunner.
我这边看部署的是我把worker容器进程关了 rabbitmq队列中是有消息堆积的 就是worker这里打开会接收消费 但是不执行方法有点奇怪
from anotherfasterrunner.
想问下大佬 你的linux线上环境是多少版本的 我这边是5.1.4
from anotherfasterrunner.
如果你没改过代码,正常是会消费的
from anotherfasterrunner.
你指的是什么版本
from anotherfasterrunner.
如果你没改过代码,正常是会消费的
没改过 就用的你docker部署搞的
from anotherfasterrunner.
会不会与linux版本有关系 worker拿到任务了 没有执行异步方法
from anotherfasterrunner.
worker运行在docker里面,没关系的
from anotherfasterrunner.
大佬 帮忙看看这个问题
from anotherfasterrunner.
大佬 帮忙看看这个问题
抱歉,目前提供的内容,我无法帮你解答
from anotherfasterrunner.
Related Issues (20)
- windows安装报错 HOT 1
- api模板-request-下面的from和params
- 平台还在维护吗? HOT 1
- 添加定时任务表达式不符合crontab 表达式规范 HOT 1
- Fatal Python error: _Py_HashRandomization_Init: failed to get random numbers to initialize Python Python runtime state: preinitialized HOT 1
- 删除api模板目录下面的api接口没有一起删除 HOT 6
- 部署不成功 HOT 12
- requirements.txt文件安装有问题 HOT 6
- API模板-希望能添加批量添加参数的功能,类似yapi和postman HOT 1
- API模板-在列表界面和编辑界面,没有选择任何配置时,点击“运行API”,界面没有反应,接口会报500错误(参数是表单类型) HOT 1
- API模板-当前接口需要引用到上一个接口的参数,只执行当前接口时,接口报500,界面无友好提示 HOT 1
- 配置管理-界面有多余元素显示 HOT 2
- 配置管理-添加驱动代码中已存在的hook函数,执行API时,提示request找不到 HOT 4
- 调试报告-切换tab错误 HOT 1
- pip install -r .\requirements.txt报错 HOT 6
- 本地login界面和demo里面得不一样 HOT 6
- Extract 这个功能在报告中好像不显示了,使用文档是有的 HOT 5
- 定时任务和异步任务不生效 HOT 1
- 安装 python 库遇到的问题汇总 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from anotherfasterrunner.