give lock preference to the new instance

This commit is contained in:
Matias Alejo Garcia 2014-08-15 12:49:16 -04:00
commit 1a5a2916c2
3 changed files with 12 additions and 8 deletions

View file

@ -77,7 +77,7 @@ angular
var timeout = config.wallet.idleDurationMin * 60 || 300;
$idleProvider.idleDuration(timeout); // in seconds
$idleProvider.warningDuration(20); // in seconds
$keepaliveProvider.interval(5); // in seconds
$keepaliveProvider.interval(2); // in seconds
})
.run(function($rootScope, $location, $idle) {
$idle.watch();