File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 1+ * Fixed connections pool leak on closing
2+
13## v3.92.3
24* Fixed error with incompleted data returen from transaction.ReadQueryResult method
35* Added option ` query/WithResponsePartLimitSizeBytes(...) ` for queries with query service
46
7+
58## v3.92.2
69* Added ` table/options.WithShardNodesInfo() ` experimental option to get shard nodeId for describe table call
710
Original file line number Diff line number Diff line change @@ -296,15 +296,15 @@ func makeAsyncCloseItemFunc[PT ItemConstraint[T], T any](
296296 p * Pool [PT , T ],
297297) func (ctx context.Context , item PT ) {
298298 return func (ctx context.Context , item PT ) {
299- closeItemCtx , closeItemCancel := xcontext .WithDone (xcontext .ValueOnly (ctx ), p .done )
300- defer closeItemCancel ()
301-
302- if d := p .config .closeTimeout ; d > 0 {
303- closeItemCtx , closeItemCancel = xcontext .WithTimeout (ctx , d )
299+ go func () {
300+ closeItemCtx , closeItemCancel := xcontext .WithDone (xcontext .ValueOnly (ctx ), p .done )
304301 defer closeItemCancel ()
305- }
306302
307- go func () {
303+ if d := p .config .closeTimeout ; d > 0 {
304+ closeItemCtx , closeItemCancel = xcontext .WithTimeout (ctx , d )
305+ defer closeItemCancel ()
306+ }
307+
308308 _ = item .Close (closeItemCtx )
309309 }()
310310 }
You can’t perform that action at this time.
0 commit comments