Skip to content

Commit

Permalink
fix: throttling email output to 2 messages every second, fixes #6911
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Mar 25, 2019
1 parent 0f9cb86 commit 33a1bf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/emailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ Emailer.transports = {
sendmail: nodemailer.createTransport({
sendmail: true,
newline: 'unix',
pool: true,
rateLimit: 2,
}),
smtp: undefined,
// gmail: undefined,
};

var app;
Expand Down

0 comments on commit 33a1bf6

Please sign in to comment.