Merge pull request #415 from isocolsky/ref/wallet-lock

Reduce wallet lock times
This commit is contained in:
Matias Alejo Garcia 2015-12-08 17:26:18 -03:00
commit b475dae5d8
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function Lock(opts) {
Lock.prototype.runLocked = function(token, cb, task) {
$.shouldBeDefined(token);
this.lock.locked(token, 5 * 1000, 24 * 60 * 60 * 1000, function(err, release) {
this.lock.locked(token, 5 * 1000, 5 * 60 * 1000, function(err, release) {
if (err) return cb(Errors.WALLET_LOCKED);
var _cb = function() {
cb.apply(null, arguments);