update /keys every 15 minutes
This commit is contained in:
parent
4c03a1200e
commit
41ed276f3a
@ -293,6 +293,10 @@ function setTimeout(f: any, t: number) {
|
||||
return chrome.extension.getBackgroundPage().setTimeout(f, t);
|
||||
}
|
||||
|
||||
function setInterval(f: any, t: number) {
|
||||
return chrome.extension.getBackgroundPage().setInterval(f, t);
|
||||
}
|
||||
|
||||
|
||||
function isWithdrawableDenom(d: DenominationRecord) {
|
||||
const now_sec = (new Date).getTime() / 1000;
|
||||
@ -521,6 +525,8 @@ export class Wallet {
|
||||
|
||||
this.fillDefaults();
|
||||
this.resumePendingFromDb();
|
||||
|
||||
setInterval(() => this.updateExchanges(), 1000 * 60 * 15);
|
||||
}
|
||||
|
||||
private async fillDefaults() {
|
||||
|
Loading…
Reference in New Issue
Block a user