[INACTIVE/UNMAINTAINED] Djrill is an email backend and new message class for Django users that want to take advantage of the Mandrill transactional email service from MailChimp.
BSD 3-Clause "New" or "Revised" License
319
stars
64
forks
source link
Use single requests session for each Django email backend connection #94
Right now, Djrill fires up a new request for each outgoing message, creating a new http connection. This is inefficient when sending many messages.
We should create a single requests.Session for each backend instance (each get_connection), and then use that session for all outgoing messages on the Django email backend connection.
Right now, Djrill fires up a new request for each outgoing message, creating a new http connection. This is inefficient when sending many messages.
We should create a single requests.Session for each backend instance (each get_connection), and then use that session for all outgoing messages on the Django email backend connection.
(See http://stackoverflow.com/q/30982717/647002)