mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-14 16:07:42 +00:00
don't skimp out on redis connections
This commit is contained in:
parent
4e453e0db2
commit
f3814683b8
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ func WorkerCmd(ctx context.Context) *cobra.Command {
|
||||||
}
|
}
|
||||||
defer db.Close()
|
defer db.Close()
|
||||||
|
|
||||||
redis, err := cmdutil.NewRedisClient(ctx, poolSize)
|
redis, err := cmdutil.NewRedisClient(ctx, multiplier)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue