0 votes
in Celery by

consider a task T. Write a code to execute in 30 seconds from now, but expires after 3 minutes.

a) T.apply_async(countdown=30, expires=180)

b) T.apply_async(countdown=30, expires=3min)

c) T.apply_async(timedelta(seconds=30), expires=180)

d) T.apply_async(countdown=180, expires=30)

1 Answer

0 votes
by
a) T.apply_async(countdown=30, expires=180)

Related questions

0 votes
0 votes
asked Jun 19, 2022 in Celery by john ganales
0 votes
asked Sep 15, 2020 in Google Adsense by Hodge
...