python - Does celery allow tasks execute one by one? -


@celery.tasks def a():    time.sleep(2)    print 'aaa'  @celery.tasks def b():    time.sleep(2)    print 'bbb' 

now want when celery take task-a , task-b @ same time, task-a execute first, , task-b should execute after task-a. celery allow happend?


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -