Commit 94b09a07 authored by Girish Ramakrishnan's avatar Girish Ramakrishnan

send email in series, we get rate limited

parent c759bdaa
......@@ -262,7 +262,7 @@ function sendNotifications(callback) {
database.releases.listAllPending(function (error, result) {
if (error) return callback(error);
async.each(result, function (release, callback) {
async.eachSeries(result, function (release, callback) {
sendNotificationEmail(release, function (error) {
if (error) console.error(error);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment