Code Monkey home page Code Monkey logo

Comments (28)

lihuacai168 avatar lihuacai168 commented on May 18, 2024

在项目根目录执行make ps,查看mq,celery-beat和celery-worker状态是否正常
看看celery-beat和celery-worker,make logs可以看到

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

我本地windows能看到么 想执行celery-worker一直开不了

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024
image 异步和定时报告,需要关闭只看自己

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

我本地windows能看到么 想执行celery-worker一直开不了

异步和定时任务,需要mq,celery-beat和celery-worker

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

我们这里自己部署的线上是有这些docker开启的

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

那线上的定时任务是否正常?
不正常就提供我上面说的日志

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024
image 我看演示demo是有报告的,不知道是不是你操作的

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

是的 我刚刚操作的

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

rabbitmq线上需要配置什么host么 还是不动 直接启动容器就行

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

rabbitmq线上需要配置什么host么 还是不动 直接启动容器就行

不需要,可以看快速启动的文档,先启动来验证。
环境变量后面在自己修改一下就好

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

定时任务没执行是不是因为 时间保存的格式 是 UTC

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

定时任务没执行是不是因为 时间保存的格式 是 UTC

有可能,可以用在线demo验证一下

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

在线demo没有效果

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

没效果指的是不能复现?还是不能使用

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

定时任务没运行

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

是跟utc时间有关系。。
这里改成3,也就是相当于北京时间的11点,就能正常触发,改成11,就不能触发。
image

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

我改成每2分钟一次好像不执行

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

celery 和rabbitmq连上了 但是触发worker能收到消息 不能消费

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

我改成每2分钟一次好像不执行

没问题的,在线demo你可以看看

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

我这边看部署的是我把worker容器进程关了 rabbitmq队列中是有消息堆积的 就是worker这里打开会接收消费 但是不执行方法有点奇怪

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

想问下大佬 你的linux线上环境是多少版本的 我这边是5.1.4

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

如果你没改过代码,正常是会消费的

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

你指的是什么版本

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

如果你没改过代码,正常是会消费的

没改过 就用的你docker部署搞的

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

会不会与linux版本有关系 worker拿到任务了 没有执行异步方法

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

worker运行在docker里面,没关系的

from anotherfasterrunner.

thb-club avatar thb-club commented on May 18, 2024

大佬 帮忙看看这个问题

from anotherfasterrunner.

lihuacai168 avatar lihuacai168 commented on May 18, 2024

大佬 帮忙看看这个问题

抱歉,目前提供的内容,我无法帮你解答

from anotherfasterrunner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.