Skip to content

Conversation

@patrickeasters
Copy link

We run Mailhog instances in preprod environments where we run a single replica along with a single Mongo container in Kubernetes/Openshift. When spinning up a new instance of Mailhog, the database is not always ready when Mailhog starts.

This PR allows Mailhog to crash if it's unable to connect to Mongo instead of falling back to in-memory storage. This is desirable for us since Kubernetes will back-off/retry until the database is ready.

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.

1 participant