PolicyStat / jobtastic

Make your user-responsive long-running Celery jobs totally awesomer.
http://policystat.github.com/jobtastic/
MIT License
645 stars 61 forks source link

Jobtastic tasks waits even CELERY_TASK_ALWAYS_EAGER is True #75

Open GitRon opened 6 years ago

GitRon commented 6 years ago

Hi everyone,

I have a JobtasticTask like this:

result = SimulationTask.delay_or_fail(simulation_id=instance.id)

When I call this method in my tests my tests time out because they are stuck here.

That's why we have CELERY_TASK_ALWAYS_EAGER which works perfectly for regular celery tasks.

Apparantly there is some issue with JobtasticTasks...

I'm using: django==2.0.5 celery==4.2.0 jobtastic==2.0.0 django_celery_results==1.0.1 django_celery_beat==1.1.1