-
-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Description
I was just testing for common misconfigurations, and noticed if I temporary stop the redis server and run for example
curl "http://localhost:44322/series/query?expr=disk.dev.read"
the request stays open forever, i.e. no response is sent. I guess pmproxy is waiting for some callback (with the response) to be executed, which never happens as the connection to redis wasn't established. Can we return some HTTP 50x response here?
Interestingly I get
$ curl -s "http://localhost:44322/series/ping"
{"success":true}
however - is the response cached (redis was running when I started pmproxy initially)?