Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #323 from gemini-testing/fix/agent.max.sockets
Browse files Browse the repository at this point in the history
Remove restirction for maximum open concurrent sockets
  • Loading branch information
j0tunn committed Dec 4, 2015
2 parents d672368 + 00a254d commit 43410c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/gemini.js
Expand Up @@ -20,6 +20,10 @@ var Q = require('q'),

DEFAULT_CFG_NAME = '.gemini.yml';

// Hack for node@0.10 and lower
// Remove restriction for maximum open concurrent sockets
require('http').globalAgent.maxSockets = Infinity;

function Gemini(config, allowOverrides) {
QEmitter.call(this);
config = config || DEFAULT_CFG_NAME;
Expand Down

0 comments on commit 43410c6

Please sign in to comment.