From 2267c1d82c5c0ccd3d1cd2fe9e723709c993643c Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 13 Dec 2019 15:58:58 +0100 Subject: improve better server balancing: update eip-service.json every 3 days after a successful connection in order to recognize newly added gateways (#8974) --- app/src/production/java/se/leap/bitmaskclient/ProviderApiManager.java | 1 + 1 file changed, 1 insertion(+) (limited to 'app/src/production') 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) { -- cgit v1.2.3