Limit to 25 emails per second

This commit is contained in:
Dries Augustyns
2025-12-02 13:11:27 +01:00
parent 2745c1bf5d
commit e506659736
+1 -1
View File
@@ -150,7 +150,7 @@ export function createEmailWorker() {
connection: emailQueue.opts.connection,
concurrency: 10, // Process up to 10 emails concurrently
limiter: {
max: 14, // Max 14 emails per second (AWS SES limit is typically 14/sec)
max: 25, // Max 25 emails per second
duration: 1000,
},
},