2

I already have an email_sender function using Celery; each email takes 3 seconds to send, and i want to improve my function. so i need Celery to do something like this: send email_num[1:500] ---> each email send in 20 second send email_num[500:1500] ---> each email send in 15 second send email_num[1500:5000] ---> each email send in 10 second send email_num[5000:] ---> each email send in 5 second is there any solution?

I tried to set dynamic time for a task.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.