Skip to content

Commit

Permalink
try using setSocketKeepAlive
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin committed Nov 21, 2023
1 parent c047ce5 commit 6ec900d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/presto-client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ Client.prototype.request = function(opts, callback) {
callback(error, response_code, data);
});
});
req.setSocketKeepAlive(false);

req.on('error', function(e){
callback(e);
Expand Down

0 comments on commit 6ec900d

Please sign in to comment.