Skip to content

Commit

Permalink
Adjust mail sendout
Browse files Browse the repository at this point in the history
  • Loading branch information
danielengelhardt committed Aug 14, 2024
1 parent 63cc5ed commit 7b60b6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DSTBundesliga/apps/dstffbl/services/season_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def create_season_users(users):


# Rate limit is 500/h
def send_email_chunk(chunk_size=500):
def send_email_chunk(chunk_size=200):
open_mails = DSTEmail.objects.filter(send_ts=None)[:chunk_size]
for mail in open_mails:
success = mail.send_mail()
Expand Down

0 comments on commit 7b60b6e

Please sign in to comment.