Showing
1 changed file
with
3 additions
and
0 deletions
@@ -9,6 +9,9 @@ | @@ -9,6 +9,9 @@ | ||
9 | const isProduction = process.env.NODE_ENV === 'production'; | 9 | const isProduction = process.env.NODE_ENV === 'production'; |
10 | const isTest = process.env.NODE_ENV === 'test'; | 10 | const isTest = process.env.NODE_ENV === 'test'; |
11 | 11 | ||
12 | +// 修改 sockets 默认设置 | ||
13 | +require('http').globalAgent.maxSockets = 10; | ||
14 | + | ||
12 | module.exports = { | 15 | module.exports = { |
13 | app: 'web', | 16 | app: 'web', |
14 | appVersion: '5.8.0', // 调用api的版本 | 17 | appVersion: '5.8.0', // 调用api的版本 |
-
Please register or login to post a comment