aboutsummaryrefslogtreecommitdiffstats
path: root/mascara
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-04-07 03:51:42 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-04-07 03:51:42 +0800
commite9a223931abb3a583f4c640cfe3791d7d9944436 (patch)
treec56546a4111a979568e0c30966fadf6641075480 /mascara
parenta1c39006de566205870cdedbd9cb33d0a933f5a4 (diff)
downloadtangerine-wallet-browser-e9a223931abb3a583f4c640cfe3791d7d9944436.tar
tangerine-wallet-browser-e9a223931abb3a583f4c640cfe3791d7d9944436.tar.gz
tangerine-wallet-browser-e9a223931abb3a583f4c640cfe3791d7d9944436.tar.bz2
tangerine-wallet-browser-e9a223931abb3a583f4c640cfe3791d7d9944436.tar.lz
tangerine-wallet-browser-e9a223931abb3a583f4c640cfe3791d7d9944436.tar.xz
tangerine-wallet-browser-e9a223931abb3a583f4c640cfe3791d7d9944436.tar.zst
tangerine-wallet-browser-e9a223931abb3a583f4c640cfe3791d7d9944436.zip
match intervals
Diffstat (limited to 'mascara')
-rw-r--r--mascara/src/proxy.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/mascara/src/proxy.js b/mascara/src/proxy.js
index 2316f4e18..809fc7402 100644
--- a/mascara/src/proxy.js
+++ b/mascara/src/proxy.js
@@ -3,10 +3,11 @@ const SWcontroller = require('client-sw-ready-event/lib/sw-client.js')
const SwStream = require('sw-stream/lib/sw-stream.js')
const SetupUntrustedComunication = ('./lib/setup-untrusted-connection.js')
-let intervalDelay = Math.floor(Math.random() * (20000 - 1000)) + 1000
+let intervalDelay = Math.floor(Math.random() * (30000 - 1000)) + 1000
const background = new SWcontroller({
fileName: '/background.js',
letBeIdle: false,
+ wakeUpInterval: 30000
intervalDelay,
})