mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Remove unused variables.
This commit is contained in:
2
redis.go
2
redis.go
@ -164,7 +164,6 @@ func (c *BaseClient) Close() error {
|
||||
|
||||
type Client struct {
|
||||
*BaseClient
|
||||
TryEvalShaMinLen int
|
||||
}
|
||||
|
||||
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),
|
||||
InitConn: initConn,
|
||||
},
|
||||
TryEvalShaMinLen: 80,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user