diff --git a/connect/notificationServices/email.js b/connect/notificationServices/email.js index 2535702..170594f 100644 --- a/connect/notificationServices/email.js +++ b/connect/notificationServices/email.js @@ -288,7 +288,7 @@ function handler(topicName, messageJSON, notification) { } logger.debug('bundlePeriod=>', bundlePeriod); - if (bundlePeriod) { + if (bundlePeriod && "immediately" !== bundlePeriod) { if (!SCHEDULED_EVENT_PERIOD[bundlePeriod]) { throw new Error(`User's '${notification.userId}' setting for service` + ` '${SETTINGS_EMAIL_SERVICE_ID}' option 'bundlePeriod' has unsupported value '${bundlePeriod}'.`); diff --git a/deploy.sh b/deploy.sh index 6f86551..31d85e0 100755 --- a/deploy.sh +++ b/deploy.sh @@ -119,8 +119,8 @@ make_task_def(){ "name": "%s", "image": "%s.dkr.ecr.%s.amazonaws.com/%s:%s", "essential": true, - "memory": 500, - "cpu": 100, + "memory": 1536, + "cpu": 768, "environment": [ { "name": "ENV",