The question is ‘/api/health’ related. In my grafana 7.3.1 + postgresql(stolon) environment, the API response shortly when the database is ready. But it take too long to response if i shutdown the postgresql cluster.
1001@eco-grafana-6f55dfbdcb-zgp2w:/opt/bitnami/grafana$ curl http://localhost:3000/api/health --connect-timeout 1 --max-time 90
curl: (28) Operation timed out after 90001 milliseconds with 0 bytes received
The response is not returned even after 90s.
Do i have any way to make the API response in a short time?