diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-04-07 03:51:42 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-04-07 03:51:42 +0800 |
commit | e9a223931abb3a583f4c640cfe3791d7d9944436 (patch) | |
tree | c56546a4111a979568e0c30966fadf6641075480 /mascara | |
parent | a1c39006de566205870cdedbd9cb33d0a933f5a4 (diff) | |
download | tangerine-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.js | 3 |
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, }) |