Commit 081a820f authored by Vojtech Vitek (V-Teq)'s avatar Vojtech Vitek (V-Teq)
Browse files

Increase default Disque Pool connections

parent c85ca5e2
......@@ -18,8 +18,8 @@ type Conn struct {
// Connect creates new connection to a given Disque Pool.
func Connect(address string, extra ...string) (*Conn, error) {
pool := &redis.Pool{
MaxIdle: 64,
MaxActive: 64,
MaxIdle: 1024,
MaxActive: 1024,
IdleTimeout: 300 * time.Second,
Wait: true,
Dial: func() (redis.Conn, error) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment