Skip to content

Conversation

@GeorgeSserwadda
Copy link

No description provided.

Copy link
Author

@GeorgeSserwadda GeorgeSserwadda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

included 3 connect retries before a restart after 2 minutes of failure

GeorgeSserwadda and others added 4 commits March 16, 2023 12:55
1_ Stopped closing the mongoose connection before starting a new one since
 it caused a failure in retrieving issues after new connection
2_ Used mongoose.createConnection() instead of conn.open() since opne() throws an
error that it is not supported in the running version of mongoose
3_ Changed reconnection interval to 10 seconds instead of 60 seconds
4_ Changed delay for application restart from 2 min. to 4 min.
changed reconnection interval to 10 sec. instead of 60 sec.
increased app restart delay to 4 min. instead of 2 min.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants