Skip to content

Commit

Permalink
Fixed a typo in require('https')
Browse files Browse the repository at this point in the history
  • Loading branch information
Uri Berman authored and Uri Berman committed Aug 30, 2018
1 parent 6da03f5 commit 8850c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ var read_config = function(){

if (config.max_sockets) {
require('http').globalAgent.maxSockets = config.max_sockets;
require('htts').globalAgent.maxSockets = config.max_sockets;
require('https').globalAgent.maxSockets = config.max_sockets;
}

// Process command line switches, if any. Command-line switches override the settings
Expand Down

0 comments on commit 8850c16

Please sign in to comment.