Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Added logs when an activity list is about to be download (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevforget authored Oct 25, 2022
1 parent 455d0d1 commit 4c0a286
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tapiriik/sync/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,9 @@ def Run(self, exhaustive=False, null_next_sync_on_unlock=False, heartbeat_callba
for conn in sorted(self._serviceConnections,
key=lambda x: x.Service.SupportsExhaustiveListing,
reverse=True):

self._global_logger.info(f"[SYNC PROCESS] Ready to get the list of activities to sync for hub user Id {self.user['_id']} from partner {conn.Service.ID}")

# If we're not going to be doing anything anyways, stop now
if len(self._serviceConnections) - len(self._excludedServices) <= 1:
raise SynchronizationCompleteException()
Expand Down

0 comments on commit 4c0a286

Please sign in to comment.