Heroku Timeout When Sending Emails

18 views
Skip to first unread message

Lightning Bit

unread,
Nov 25, 2022, 11:03:09 AM11/25/22
to Django users
Heroku timesout and says application error when sending emails to 100+ customers. How can this be resolved with Django? Does Heroku have an upgrade feature that will allow larger requests to be sent?

Annadatha Rao

unread,
Nov 25, 2022, 11:58:48 AM11/25/22
to django...@googlegroups.com
You can create timer event with delay of x seconds and try. 

Annadatha. 

On Fri, Nov 25, 2022, 9:33 PM Lightning Bit <thelegendof...@gmail.com> wrote:
Heroku timesout and says application error when sending emails to 100+ customers. How can this be resolved with Django? Does Heroku have an upgrade feature that will allow larger requests to be sent?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/df86004d-cb37-42fc-ba43-e85ae51160b5n%40googlegroups.com.

Ryan Nowakowski

unread,
Nov 26, 2022, 12:57:35 PM11/26/22
to django...@googlegroups.com
Are you trying to send 100 emails from your Django view? If so, you might consider sending them asynchronously via something like celery:

https://devcenter.heroku.com/articles/celery-heroku

- Ryan N
Reply all
Reply to author
Forward
0 new messages