Skip to content

Commit 0472359

Browse files
committed
Increase max connection to 100
1 parent 697e45b commit 0472359

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/db/db/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ func NewClient(ctx context.Context) (*Client, error) {
3434
}
3535

3636
// Set the maximum number of connections
37-
config.MaxConns = 10 // Replace 10 with your desired max connections
37+
config.MaxConns = 100
3838

3939
// Create the connection pool
4040
pool, err := pgxpool.NewWithConfig(ctx, config)

0 commit comments

Comments
 (0)