Skip to content

Commit

Permalink
Update garminconnect.py
Browse files Browse the repository at this point in the history
Increase number of synchronized activities from 1000 to 10000 (from 10 to 100 pages).
  • Loading branch information
AndrejWalk authored Apr 20, 2017
1 parent d3c0b43 commit dbb23c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tapiriik/services/GarminConnect/garminconnect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

1 comment on commit dbb23c8

@AndrejWalk
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe issue #273

Please sign in to comment.