mirror of
https://github.com/christianselig/apollo-backend
synced 2024-12-22 22:35:27 +00:00
change pool size for redis
This commit is contained in:
parent
e5bf631a0b
commit
310567fde2
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue