diff options
author | cyBerta <cyberta@riseup.net> | 2019-12-13 15:58:58 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2019-12-13 16:00:03 +0100 |
commit | 2267c1d82c5c0ccd3d1cd2fe9e723709c993643c (patch) | |
tree | de4b0a6d58d74205c578d90efbced5624d1f22b9 /app/src/production | |
parent | 0977dcb66048d3039d6ff84b8d484ec90cf1c38e (diff) |
improve better server balancing: update eip-service.json every 3 days after a successful connection in order to recognize newly added gateways (#8974)
Diffstat (limited to 'app/src/production')
-rw-r--r-- | app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java b/app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java index 10582cf3..41a63ad7 100644 --- a/app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java +++ b/app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java @@ -174,6 +174,7 @@ public class ProviderApiManager extends ProviderApiManagerBase { setErrorResult(result, eipServiceJsonString); } else { provider.setEipServiceJson(eipServiceJson); + provider.setLastEipServiceUpdate(System.currentTimeMillis()); result.putBoolean(BROADCAST_RESULT_KEY, true); } } catch (NullPointerException | JSONException e) { |