I created a health module on my api and initialised a service.
At first I used a select * from users limit 1; to see if the connection on my postgres was good. In the meantime I learned about the await db.manager.report().
The report seems to work at first glance, but when I tried to check my health ready when my postgres container was switched off, I still had the connection: All connections are healthy
Package version
^20.5.1
Describe the bug
I created a
health
module on my api and initialised a service.At first I used a
select * from users limit 1;
to see if the connection on my postgres was good. In the meantime I learned about theawait db.manager.report()
.The report seems to work at first glance, but when I tried to check my health ready when my postgres container was switched off, I still had the connection: All connections are healthy
Reproduction repo
No response