Skip to content

Commit 3a77cbb

Browse files
authored
refactor: removed unnecessary check (#2381)
1 parent fc29aa0 commit 3a77cbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Pool extends PoolBase {
5757
maxCachedSessions,
5858
allowH2,
5959
socketPath,
60-
timeout: connectTimeout == null ? 10e3 : connectTimeout,
60+
timeout: connectTimeout,
6161
...(util.nodeHasAutoSelectFamily && autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),
6262
...connect
6363
})

0 commit comments

Comments
 (0)