Open spl0i7 opened 5 years ago
It seems like vitess.io/vitess/go/pool has changed their function signature and it requires more arguments.
vitess.io/vitess/go/pool
func newRedisPool(uri string, capacity int, maxCapacity int, idleTimout time.Duration) *pools.ResourcePool { return pools.NewResourcePool(newRedisFactory(uri), capacity, maxCapacity, idleTimout) }
Above lines are source of this problem and must be changed to accept 5 arguments as needed by NewResourcePool(factory Factory, capacity int, maxCap int, idleTimeout time.Duration, prefillParallelism int) *ResourcePool
NewResourcePool(factory Factory, capacity int, maxCap int, idleTimeout time.Duration, prefillParallelism int) *ResourcePool
It seems like
vitess.io/vitess/go/pool
has changed their function signature and it requires more arguments.Above lines are source of this problem and must be changed to accept 5 arguments as needed by
NewResourcePool(factory Factory, capacity int, maxCap int, idleTimeout time.Duration, prefillParallelism int) *ResourcePool