Skip to content

Commit

Permalink
Set maxSockets from 200 to 50
Browse files Browse the repository at this point in the history
Closes #14 Smaller pool by default
  • Loading branch information
OlliV committed Nov 12, 2019
1 parent a760cfd commit 263669f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const setupFetchCachedDns = require('@zeit/fetch-cached-dns');
const {HttpsAgent} = HttpAgent;

const AGENT_OPTIONS = {
maxSockets: 200,
maxSockets: 50,
maxFreeSockets: 20,
timeout: 60000,
freeSocketTimeout: 30000,
Expand Down

0 comments on commit 263669f

Please sign in to comment.