Giter VIP home page Giter VIP logo

Comments (4)

aleksihakli avatar aleksihakli commented on September 26, 2024

Hey @Beomi!

The current Celery package we use for testing is actually 4.0.1, so the current version already supports Celery 4.

from django-health-check.

aleksihakli avatar aleksihakli commented on September 26, 2024

UPDATE: On a closer inspection it seems like @shared_task in Celery 3 and 4 specific and the Celery support can be checked with the same code base for them:

http://docs.celeryproject.org/en/3.1/django/first-steps-with-django.html?highlight=shared_task
http://docs.celeryproject.org/en/v4.0.2/django/first-steps-with-django.html?highlight=shared_task

But Celery 2 actually uses the @task decorator that is available from celery.task:

http://docs.celeryproject.org/en/2.5-archived/reference/celery.app.task.html?highlight=app.task#module-celery.app.task

Since Celery 2 is actually the archived Celery version that does not receive any updates, perhaps we should do the following renames for the next release:

  • Rename health_check_celery to health_check_celery2 OR deprecate the old health checker AND
  • Rename health_check_celery3 to health_check_celery as it supports both Celery 3 and Celery 4. This way it is easier to understand that Celery 3 and 4 are actively supported and Celery 2 is the version that is specially treated.

from django-health-check.

codingjoe avatar codingjoe commented on September 26, 2024

As I said in the ticket. Just drop the celery 2 backend.

from django-health-check.

aleksihakli avatar aleksihakli commented on September 26, 2024

@codingjoe This could be closed.

from django-health-check.

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.