don't skimp out on redis connections

This commit is contained in:
Andre Medeiros 2022-07-15 12:55:56 -04:00
parent 4e453e0db2
commit f3814683b8

View file

@ -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
} }