Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

Commit f2d36ba

Browse files
committed
refactor(connection): remove duplicate check for socket timeout
1 parent 3a7ebe7 commit f2d36ba

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/connection/connection.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ class Connection extends EventEmitter {
9999
this.keepAlive = typeof options.keepAlive === 'boolean' ? options.keepAlive : true;
100100
this.keepAliveInitialDelay =
101101
typeof options.keepAliveInitialDelay === 'number' ? options.keepAliveInitialDelay : 300000;
102-
this.socketTimeout = typeof options.socketTimeout === 'number' ? options.socketTimeout : 360000;
103102
this.connectionTimeout =
104103
typeof options.connectionTimeout === 'number' ? options.connectionTimeout : 30000;
105104
if (this.keepAliveInitialDelay > this.socketTimeout) {

0 commit comments

Comments
 (0)