Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
moshloop committed Jan 24, 2024
1 parent 0fe9abc commit 20ec594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func NewPgxPool(connection string) (*pgxpool.Pool, error) {
config.MaxConns = 20
}

pool, err = pgxpool.New(context.Background(), config)
pool, err = pgxpool.NewWithConfig(context.Background(), config)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 20ec594

Please sign in to comment.