TT#32450 Queue appended redis commands for reconnect

Hiredis sends queued commands to redis only after first call
of getReply, and if that fails, we need to have the appended
commands queued up, so we can re-queue them and re-execute
again after reconnect.

Also refresh code using upstream fixes, like declaring vars
at the beginning of functions instead of inline in for() loops.

Change-Id: I2de5da00818aaa27d3c10ba81074cfa83083e5b5
changes/12/19212/6
Andreas Granig 8 years ago
parent 4b365e03b3
commit 3be33de622

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save