Skip to content

Commit

Permalink
refactor: removed unnecessary check (#2381)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikelborm committed Oct 27, 2023
1 parent fc29aa0 commit 3a77cbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Pool extends PoolBase {
maxCachedSessions,
allowH2,
socketPath,
timeout: connectTimeout == null ? 10e3 : connectTimeout,
timeout: connectTimeout,
...(util.nodeHasAutoSelectFamily && autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),
...connect
})
Expand Down

0 comments on commit 3a77cbb

Please sign in to comment.