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/insecure/java/se | |
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/insecure/java/se')
-rw-r--r-- | app/src/insecure/java/se/leap/bitmaskclient/ProviderApiManager.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/insecure/java/se/leap/bitmaskclient/ProviderApiManager.java b/app/src/insecure/java/se/leap/bitmaskclient/ProviderApiManager.java index e79946bf..fc91d7e4 100644 --- a/app/src/insecure/java/se/leap/bitmaskclient/ProviderApiManager.java +++ b/app/src/insecure/java/se/leap/bitmaskclient/ProviderApiManager.java @@ -187,6 +187,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) { |