Merge pull request #2 from chovy/feature/add-pool-support

safety check
This commit is contained in:
Anthony Ettinger 2017-01-30 22:09:03 -08:00 committed by GitHub
commit e0cf5bba44

View file

@ -86,7 +86,7 @@ var Bing = function (options) {
},
timeout: opts.reqTimeout,
pool: {
maxSockets: opts.maxSockets || Infinity
maxSockets: opts.maxSockets ? opts.maxSockets : Infinity
}
}, function (err, res, body) {