Commit 3e149fe8c6abd655f92f6ef40ee0d613da4a0b15

Authored by Adhidarma Hadiwinoto
1 parent ad69977f75
Exists in master

http.globalAgent.maxSockets = Infinity;

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -20,6 +20,7 @@ var mongodb;
20 20  
21 21 var tasks = LRU(10000);
22 22  
  23 +http.globalAgent.maxSockets = Infinity;
23 24 process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
24 25  
25 26 var sleep_before_retry = 30000;