give lock preference to the new instance
This commit is contained in:
parent
18aadede29
commit
1a5a2916c2
3 changed files with 12 additions and 8 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue