Delayed subtask in django-celery -
this code:
add.apply_async((1, 2), countdown=5, link=delete.subtask())
how can add custom delay on delete subtask passing result of add task parameter?
is possible syntax/format?
ok, i've found solution
add.apply_async((1, 2), countdown=2, link=delete.subtask((), countdown=10))
Comments
Post a Comment