-
-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mikro ORM check returns healthy although not connected #2460
Comments
Can you create minimal reproduction in a cloneable git repository? |
I can confirm - we discovered the same issue today. |
Hi, we face the same bug in our services. What is interesting is that the first |
We face the same problem too. |
I created a new beta release, would you mind checking? NPMJS link, install via: npm i @nestjs/[email protected] |
Hi @BrunnerLivio , I tested the
|
This has now been officially released with 10.2.2 🎉 |
Is there an existing issue for this?
Current behavior
When Mikro ORM's connection object return
false
on theisConnected
method of its[Connection](https://mikro-orm.io/api/core/class/Connection)
object, the health check is still considered valid.Minimum reproduction code
Steps to reproduce
Expected behavior
I would expect the health check to be failing if there is actually no DB connection established
Package version
10.2.0
NestJS version
10.2.10
Node.js version
18.12.1
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: