goworker icon indicating copy to clipboard operation
goworker copied to clipboard

package broken

Open spl0i7 opened this issue 5 years ago • 0 comments

It seems like vitess.io/vitess/go/pool has changed their function signature and it requires more arguments.


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

spl0i7 avatar Aug 04 '19 07:08 spl0i7