gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-wallet-webex] branch master updated: update /keys ev


From: gnunet
Subject: [GNUnet-SVN] [taler-wallet-webex] branch master updated: update /keys every 15 minutes
Date: Mon, 01 May 2017 04:09:56 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-webex.

The following commit(s) were added to refs/heads/master by this push:
     new 41ed276  update /keys every 15 minutes
41ed276 is described below

commit 41ed276f3aad355a8a2504759edf5b737922272e
Author: Florian Dold <address@hidden>
AuthorDate: Mon May 1 04:09:52 2017 +0200

    update /keys every 15 minutes
---
 src/wallet.ts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/wallet.ts b/src/wallet.ts
index 63cd597..71dc175 100644
--- a/src/wallet.ts
+++ b/src/wallet.ts
@@ -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() {

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]