Schedule a pool reconnect if the connection to redis fails
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 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