Skip to content

Commit a588232

Browse files
arthurschreibertanjinx
authored andcommitted
Fix benchmark setup.
Signed-off-by: Arthur Schreiber <arthur@planetscale.com>
1 parent 39cafa1 commit a588232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/pools/smartconnpool/pool_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1425,7 +1425,7 @@ func BenchmarkPoolCleanupIdleConnectionsPerformanceNoIdleConnections(b *testing.
14251425

14261426
p := NewPool(&Config[*TestConn]{
14271427
Capacity: int64(capacity),
1428-
IdleTimeout: 50 * time.Millisecond,
1428+
IdleTimeout: 30 * time.Second,
14291429
LogWait: state.LogWait,
14301430
}).Open(newConnector(&state), nil)
14311431
defer p.Close()

0 commit comments

Comments
 (0)