Slowing down the send rate
We use SES for sending system emails from our software application and I don't want to swamp that traffic with marketing email. Our current send rate is 14/sec. Can this sending rate be slowed? According to this answer:
http://forum.sendy.co/discussion/1272/how-to-send-only-500-mails-per-hour/p1
It sounds like (in sendy v1.1.7.1) that doing the following would slow the sending rate to 8 per second:
- Add (time_nanosleep(0, 125000000)); after line 472 in /includes/create/send-now.php
- Add (time_nanosleep(0, 125000000)); after line 515 in scheduled.php
Does that sound right?
Could be a useful setting to include in a future version if so.
This discussion has been closed.
Comments
Hi @stevegoldenberg,
Yes that's correct, you can use
time_nanosleep
instead ofsleep
if you want precise timing.Thanks.
Best regards,
Ben