Skip to content

Commit

Permalink
chore: Release v1.2.8 - See CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Dec 10, 2023
1 parent b6efd5e commit d8ef0d0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.2.8 (December 10th, 2023)

- include error code 421 - Error: too many connections for queueing message

### 1.2.7 (November 26th, 2023)

- removed deprecated method in chassis-srv (collection.load)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@restorecommerce/notification-srv",
"version": "1.2.7",
"version": "1.2.8",
"description": "Restorecommerce notification microservice",
"main": "lib/start.js",
"author": "n-fuse GmbH",
Expand Down
3 changes: 2 additions & 1 deletion src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ export class NotificationService {
// "code":"EAUTH","response":"454 4.7.0 Temporary authentication failure:
// Connection lost to authentication server","responseCode":454
// included authentication error due to login credentials 530 (to resend the email from pending queue)
if ([451, 454, 550, 501, 530, 553, 556, 552, 554].indexOf(err.responseCode) == -1) {
// error code EAUTH 421 - Error: too many connections (to be retried again)
if ([421, 451, 454, 550, 501, 530, 553, 556, 552, 554].indexOf(err.responseCode) == -1) {
// ignoring messages related with invalid messages or email addresses other than the above error codes
toQueue = false;
}
Expand Down

0 comments on commit d8ef0d0

Please sign in to comment.