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

Commit

Permalink
chore: remove http hack for node 0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
j0tunn committed Nov 17, 2017
1 parent 0107f1a commit 27682a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/gemini.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ const temp = require('./temp');

const PREFIX = require('../package').name + '-';

// Hack for [email protected] and lower
// Remove restriction for maximum open concurrent sockets
require('http').globalAgent.maxSockets = Infinity;
Promise.promisifyAll(require('fs-extra'));

// patch fs module prototype for preventing EMFILE error (too many open files)
Expand Down

0 comments on commit 27682a4

Please sign in to comment.