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
Post a Comment