go/src/github.com/benmanns/goworker/redis.go:35:30: not enough arguments in call to pools.NewResourcePool
In vitess.io/vitess/go/pools the NewResourcePool is defined as
NewResourcePool(factory Factory, capacity, maxCap int, idleTimeout time.Duration, prefillParallelism int) *ResourcePool
Is missing the argument prefillParallelism in redis.go?
return pools.NewResourcePool(newRedisFactory(uri), capacity, maxCapacity, idleTimout, 0)
or
return pools.NewResourcePool(newRedisFactory(uri), capacity, maxCapacity, idleTimout, 1)
In vitess.io/vitess/go/pools the NewResourcePool is defined as
Is missing the argument prefillParallelism in redis.go?