mirror of https://github.com/go-redis/redis.git
Remove unused variables.
This commit is contained in:
parent
f64761880b
commit
5f00ff095c
2
redis.go
2
redis.go
|
@ -164,7 +164,6 @@ func (c *BaseClient) Close() error {
|
||||||
|
|
||||||
type Client struct {
|
type Client struct {
|
||||||
*BaseClient
|
*BaseClient
|
||||||
TryEvalShaMinLen int
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewClient(openConn OpenConnFunc, closeConn CloseConnFunc, initConn InitConnFunc) *Client {
|
func NewClient(openConn OpenConnFunc, closeConn CloseConnFunc, initConn InitConnFunc) *Client {
|
||||||
|
@ -173,7 +172,6 @@ func NewClient(openConn OpenConnFunc, closeConn CloseConnFunc, initConn InitConn
|
||||||
ConnPool: NewMultiConnPool(openConn, closeConn, 10),
|
ConnPool: NewMultiConnPool(openConn, closeConn, 10),
|
||||||
InitConn: initConn,
|
InitConn: initConn,
|
||||||
},
|
},
|
||||||
TryEvalShaMinLen: 80,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue