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:
parent
fea98dfa59
commit
ec26083e81
2 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
|
|
||||||
?? ??? ????, version 0.5.2
|
?? ??? ????, version 0.5.2
|
||||||
|
|
||||||
|
- added a "maxage" option for uplinks
|
||||||
- added fs-ext dependency (flock)
|
- added fs-ext dependency (flock)
|
||||||
- fixed a few face conditions
|
- fixed a few face conditions
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,12 @@ uplinks:
|
||||||
npmjs:
|
npmjs:
|
||||||
url: https://registry.npmjs.org/
|
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:
|
packages:
|
||||||
# uncomment this for packages with "local-" prefix to be available
|
# uncomment this for packages with "local-" prefix to be available
|
||||||
# for admin only, it's a recommended way of handling private packages
|
# for admin only, it's a recommended way of handling private packages
|
||||||
|
|
Loading…
Reference in a new issue