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

Merge branch 'master' of github.com:rlidwka/sinopia

This commit is contained in:
Alex Kocharin 2013-12-16 00:58:09 +04:00
commit 0cec69ee1d
3 changed files with 8 additions and 1 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 11 Dec 2013, version 0.5.6
- fixing a few crashes related to tags - 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) { Storage.prototype.status_check = function(alive) {
if (arguments.length === 0) { 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) { if (!this.is_alive && Math.abs(Date.now() - this.is_alive_time) < 2*60*1000) {
return false return false
} else { } else {

View file

@ -1,7 +1,7 @@
# use "yapm install ." if you're installing this from git repository # use "yapm install ." if you're installing this from git repository
name: sinopia name: sinopia
version: 0.5.6 version: 0.5.7
description: Private npm repository server description: Private npm repository server
author: author: