Skip to content

BackgroundTask vs task queue (Celery, RQ, etc) #2398

Answered by adriangb
oTree-org asked this question in Q&A
Discussion options

You must be logged in to vote

I would suggest considerably less than 30s which is the default SIGTERM timeout on Kuberneted (just general number). 1s to send an email should be fine, but I wouldn’t do 30s of compute intensive stuff.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oTree-org
Comment options

Answer selected by oTree-org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants