Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore the celery worker --without-{gossip,mingle,heartbeat} flags #6365

Merged
merged 1 commit into from Oct 1, 2020

Commits on Sep 25, 2020

  1. Restore the celery worker --without-{gossip,mingle,heartbeat} flags

    In the previously used argparse arguments framework, these three options were
    used as flags.
    
    Since 5.0.0, they are options which need to take an argument (whose only
    sensible value would be "true"). The error message coming up is also (very)
    hard to understand, when running the celery worker command with an odd number
    of flags:
    
      Error: Unable to parse extra configuration from command line.
      Reason: not enough values to unpack (expected 2, got 1)
    
    When the celery worker is run with an even number of flags, the last one is
    considered as an argument of the previous one, which is a subtle bug.
    olasd committed Sep 25, 2020
    Copy the full SHA
    848c19d View commit details
    Browse the repository at this point in the history