Skip to content

Commit

Permalink
Use balancer connection with metadata for operation service.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Golov committed Sep 11, 2024
1 parent 1b6f358 commit 2e9b4b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Fixed metadata for operation service connection
* Fixed composing query traces in call `db.Query.Do[Tx]` using option `query.WithTrace`

## v3.80.2
Expand Down
2 changes: 1 addition & 1 deletion driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ func (d *Driver) connect(ctx context.Context) (err error) {

d.operation = xsync.OnceValue(func() (*operation.Client, error) {
return operation.New(xcontext.ValueOnly(ctx),
d.pool.Get(endpoint.New(d.config.Endpoint())),
d.balancer,
), nil
})

Expand Down

0 comments on commit 2e9b4b2

Please sign in to comment.