Skip to content

Commit 9171f25

Browse files
authoredDec 4, 2020
feat: enable keep alive on configuration by default (#2014)
1 parent e4357a6 commit 9171f25

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
 

‎conf/default.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ auth:
3636
uplinks:
3737
npmjs:
3838
url: https://registry.npmjs.org/
39+
agent_options:
40+
keepAlive: true
41+
maxSockets: 40
42+
maxFreeSockets: 10
3943

4044
packages:
4145
'@*/*':

‎conf/docker.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ auth:
4141
uplinks:
4242
npmjs:
4343
url: https://registry.npmjs.org/
44+
agent_options:
45+
keepAlive: true
46+
maxSockets: 40
47+
maxFreeSockets: 10
4448

4549
packages:
4650
'@*/*':

0 commit comments

Comments
 (0)
Please sign in to comment.