From dbb23c8c748b3609f1d33b5d2dac1f5c20424a7d Mon Sep 17 00:00:00 2001 From: AndrejWalk Date: Thu, 20 Apr 2017 23:50:37 +0200 Subject: [PATCH] Update garminconnect.py Increase number of synchronized activities from 1000 to 10000 (from 10 to 100 pages). --- tapiriik/services/GarminConnect/garminconnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tapiriik/services/GarminConnect/garminconnect.py b/tapiriik/services/GarminConnect/garminconnect.py index 38e1910db..c8c6011d2 100644 --- a/tapiriik/services/GarminConnect/garminconnect.py +++ b/tapiriik/services/GarminConnect/garminconnect.py @@ -661,7 +661,7 @@ def PollPartialSyncTrigger(self, multiple_index): # These seems to fail with a 500 (talkking about a timeout) the first time, so keep trying. SERVER_ERROR_RETRIES = 10 PAGE_SIZE = 100 - TOTAL_SIZE = 1000 + TOTAL_SIZE = 10000 # Then, check for users with new activities watch_activities = [] for i in range(1, TOTAL_SIZE, PAGE_SIZE):