We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ccf80e commit 672c6d3Copy full SHA for 672c6d3
1 file changed
common/db/postgresql.go
@@ -46,7 +46,7 @@ func NewPostgreSQLRepository(ctx context.Context, uri, database, username, passw
46
opt.Path = database
47
}
48
49
- dbpool, err := pgxpool.Connect(context.Background(), opt.String())
+ dbpool, err := pgxpool.Connect(ctx, opt.String())
50
if err != nil {
51
return nil, err
52
0 commit comments