[Bug]: Failed clickhouse connection blocks the page
AmanAgarwal041 opened this issue Β· comments
π What's Going Wrong?
If the active database config for the clickhouse datasource cannot be reached then also the other queries are still going which blocks the page for the data queries and multiple pending pooling connection are being requested. Hence optimise the application for checking the ping status for the active database beforehand to run the data queries only when the connection is established.
π΅οΈ Steps to Reproduce
To see the bug, what should we do?
- Add a wrong database config
- Switch to dashboard page
- Observe failed queries
π― What Did You Expect?
Describe what you thought would happen.
πΈ Any Screenshots?
Pictures can say a thousand words and can be super helpful!
π» Your Setup
- Doku Version: [e.g., 0.0.1]
- DokuMetry SDK: [Python or NodeJS]
- DokuMetry SDK Version: [e.g., 0.0.3]
- Deployment Method: [Helm, Linux, Windows, Docker]
π Additional Notes
Got more to say? Tell us here.
π Want to Help Make It Happen?
- Yes, I'd like to volunteer and help out with this!
Wrong pr merge led to reopening of this issue.