Closed debraj-manna closed 7 years ago
Figured it out. I had to use retryConn
. On changing my code like below it is working
retryConn, errRe := redisc.RetryConn(conn, 3, 1*time.Millisecond)
if errRe != nil {
log.Println("Failed to get retry connection " + errRe.Error())
return
}
...
reply, errS := rScript.Do(retryConn, "JJNb324a680c35d11e6a1123c15c2d271f21481871788G", argv)
I am trying to use
redisc
. I have followed the example given in example_test.go. My code looks like below:-But on running the code it is throwing the below error:-
Can someone let me know what I am doing wrong?