mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Simplify connection management with sticky connection pool. Fixes #260.
This commit is contained in:
@ -7,7 +7,6 @@ import (
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"sync/atomic"
|
||||
"syscall"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
@ -243,10 +242,6 @@ func startSentinel(port, masterName, masterPort string) (*redisProcess, error) {
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
var (
|
||||
errTimeout = syscall.ETIMEDOUT
|
||||
)
|
||||
|
||||
type badConnError string
|
||||
|
||||
func (e badConnError) Error() string { return string(e) }
|
||||
|
Reference in New Issue
Block a user