change pool size for redis

This commit is contained in:
Andre Medeiros 2022-05-02 11:11:36 -04:00
parent e5bf631a0b
commit 310567fde2

View file

@ -40,7 +40,7 @@ func NewRedisClient(ctx context.Context) (*redis.Client, error) {
if err != nil {
return nil, err
}
opt.MinIdleConns = 16
opt.PoolSize = 16
client := redis.NewClient(opt)
if err := client.Ping(ctx).Err(); err != nil {