mirror of
https://github.com/fluencelabs/redis
synced 2025-03-18 16:40:50 +00:00
redis-cli: Use the repetiton prefix after a reconnection.
This commit is contained in:
parent
4d19e3443c
commit
442c748d84
@ -696,7 +696,8 @@ static void repl() {
|
||||
|
||||
/* If we still cannot send the command print error.
|
||||
* We'll try to reconnect the next time. */
|
||||
if (cliSendCommand(argc,argv,1) != REDIS_OK)
|
||||
if (cliSendCommand(argc-skipargs,argv+skipargs,repeat)
|
||||
!= REDIS_OK)
|
||||
cliPrintContextError();
|
||||
}
|
||||
elapsed = mstime()-start_time;
|
||||
|
Loading…
x
Reference in New Issue
Block a user