ask/celery — Issue #581: celery.execute.send_task should respect CELERY_ALWAYS_EAGER
Author: kmike
Created: 2011-12-30 07:08:13+00:00
State: open

Trying to figure out why CELERY_ALWAYS_EAGER doesn't work I found that celery.app.base.BaseApp.send_task (and thus celery.execute.send_task) doesn't respect CELERY_ALWAYS_EAGER.

I think CELERY_ALWAYS_EAGER should be respected both for direct task invocations (via task.delay) and for indirect invocations (via execute.send_task).