0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00

added a maxage option for uplinks

This commit is contained in:
Alex Kocharin 2013-10-22 12:34:07 +04:00
parent fea98dfa59
commit ec26083e81
2 changed files with 7 additions and 0 deletions

View file

@ -1,6 +1,7 @@
?? ??? ????, version 0.5.2
- added a "maxage" option for uplinks
- added fs-ext dependency (flock)
- fixed a few face conditions

View file

@ -12,6 +12,12 @@ uplinks:
npmjs:
url: https://registry.npmjs.org/
# maximum time (in seconds) in which data is considered up to date
#
# default is 2 minutes, so server won't request the same data from
# uplink if a similar request was made less than 2 minutes ago
#maxage: 120
packages:
# uncomment this for packages with "local-" prefix to be available
# for admin only, it's a recommended way of handling private packages