mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: throttling email output to 2 messages every second, fixes #6911
This commit is contained in:
@@ -26,9 +26,10 @@ Emailer.transports = {
|
|||||||
sendmail: nodemailer.createTransport({
|
sendmail: nodemailer.createTransport({
|
||||||
sendmail: true,
|
sendmail: true,
|
||||||
newline: 'unix',
|
newline: 'unix',
|
||||||
|
pool: true,
|
||||||
|
rateLimit: 2,
|
||||||
}),
|
}),
|
||||||
smtp: undefined,
|
smtp: undefined,
|
||||||
// gmail: undefined,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
var app;
|
var app;
|
||||||
|
|||||||
Reference in New Issue
Block a user