0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-03-18 02:22:46 -05:00
This commit is contained in:
Alex Kocharin 2013-12-15 04:05:58 +04:00
parent ef61515f28
commit f43ec71ccb
2 changed files with 7 additions and 0 deletions

View file

@ -1,4 +1,9 @@
15 Dec 2013, version 0.5.7
- try to fetch package from uplinks if user requested a tarball we don't know about (issue #29)
- security fix: set express.js to production mode so we won't return stack traces to the user in case of errors
11 Dec 2013, version 0.5.6
- fixing a few crashes related to tags

View file

@ -175,6 +175,8 @@ Storage.prototype.request = function(options, cb) {
Storage.prototype.status_check = function(alive) {
if (arguments.length === 0) {
return true // hold off this feature until v0.6.0
if (!this.is_alive && Math.abs(Date.now() - this.is_alive_time) < 2*60*1000) {
return false
} else {