Skip to content

Commit

Permalink
remove pool min and max hard coded options
Browse files Browse the repository at this point in the history
  • Loading branch information
gusinacio authored and Gustavo Inacio committed Jul 21, 2023
1 parent 99bff92 commit a247790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/substreams-sink-postgres/inject_csv.go
Expand Up @@ -64,7 +64,7 @@ func injectCSVE(cmd *cobra.Command, args []string) error {
return fmt.Errorf("unable to create input store: %w", err)
}

pool, err := pgxpool.Connect(ctx, fmt.Sprintf("%s pool_min_conns=%d pool_max_conns=%d", postgresDSN.ConnString(), 2, 3))
pool, err := pgxpool.Connect(ctx, postgresDSN.ConnString())
if err != nil {
return fmt.Errorf("connecting to postgres: %w", err)
}
Expand Down

0 comments on commit a247790

Please sign in to comment.