Skip to content

Commit

Permalink
Capture OK response after sending DYNO_CONFIG command
Browse files Browse the repository at this point in the history
We forgot to capture the OK response from DYNO_CONFIG:CONN_CONSISTENCY
command after sending it, which meant that every command after that was
getting the response for the previous command since there was always an
unclaimed response on the wire.

This patch fixes it.
  • Loading branch information
smukil committed Oct 22, 2019
1 parent bf9b5ca commit 1755cee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public void open() throws DynoException {
jedisClient.connect();
if (isConsistencyLevelProvided()) {
jedisClient.getClient().sendCommand(DynoConfigCommand.CONN_CONSISTENCY, this.consistencyLevel);
jedisClient.getClient().getStatusCodeReply();
}
}

Expand Down

0 comments on commit 1755cee

Please sign in to comment.