RocketChat / RocketChat/Rocket.Chat
Gracefully reconnect to mongodb
Open
@sampaiodiego is already working on this.
Since Jun 14, 2017.
deployment
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
When running rocket.chat in any cloud environment (in my example kubernetes), a mongodb-server might take up some time until it's available. This has also lead to some issues here with docker-compose. Instead of failing right away, there should be an option to just retry a mongodb-connection for a specific period of time with an appropriate commandline and configuration argument like "retryMongoConnection=15". This would retry a mongodb-connection every second for at most 15 seconds.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.