Skip to content

Commit 81f5a36

Browse files
committed
chore(size-benchmark): verdaccio allow more connections
1 parent ac42efa commit 81f5a36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

verdaccio/config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ web:
2121
auth:
2222
htpasswd:
2323
file: ./htpasswd
24+
algorithm: bcrypt
2425
# Maximum amount of users allowed to register, defaults to "+inf".
2526
# You can set this to -1 to disable registration.
2627
# max_users: 1000
@@ -74,3 +75,7 @@ middlewares:
7475
logs:
7576
- { type: stdout, format: pretty, level: http }
7677
#- {type: file, path: verdaccio.log, level: info}
78+
79+
userRateLimit:
80+
windowMS: 900000 # 15 minutes
81+
max: 5000

0 commit comments

Comments
 (0)