nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 307 forks source link

Webdis reconnect fixes #117

Closed ngoyal closed 8 years ago

ngoyal commented 9 years ago

This was a two parter

If the schedule part is done w/o the updated hiredis, then it's incomplete. A curl request to a webdist instance that has redis disconnected underneath it will just hang. That is, start redis, start webdis, kill redis, issue curl req. You'll see a hang. After updating to hiredis 0.13.1 the expected 503 is returned immediately.

Without the schedule part, updating hiredis did not address the problem.

This fixes https://github.com/nicolasff/webdis/issues/110