Skip to content

[5.0.0] Celery does NOT start with both -D and -E options enabled #6362

Description

@iamdavidcz

Hi,

I've just installed Celery 5.0.0 and noticed that it doesn't start when both -D and -E options enabled:

Only -E options works fine:

$ celery -A sample.celery worker -E

 -------------- [email protected] v5.0.0 (singularity)
--- ***** -----
-- ******* ---- Darwin-19.6.0-x86_64-i386-64bit 2020-09-24 15:59:59
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app:         sample:0x7fc944afebd0
- ** ---------- .> transport:   amqp://guest:**@192.168.0.101:5672//
- ** ---------- .> results:     disabled://
- *** --- * --- .> concurrency: 4 (prefork)
-- ******* ---- .> task events: ON
--- ***** -----
 -------------- [queues]
                .> celery           exchange=celery(direct) key=celery

But both -D and -E options doesn't work. It exits with exit code 0 and nothing happens...

$ celery -A sample.celery worker -D -E

Info:
Python 3.7.9
Celery 5.0.0 on macOS 10.15 Catalina.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions