handle quit command response as it was leaving the socket in an unconsistent state
This commit is contained in:
@@ -77,9 +77,10 @@ public class BinaryJedis implements BinaryJedisCommands {
|
||||
/**
|
||||
* Ask the server to silently close the connection.
|
||||
*/
|
||||
public void quit() {
|
||||
public String quit() {
|
||||
checkIsInMulti();
|
||||
client.quit();
|
||||
return client.getStatusCodeReply();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user