Only sync changes if api.queue has content. Else we'll time out after 45 minutes of no changes.

dev^2
Hoffelhas 2023-01-15 11:02:26 +01:00
parent cf57687068
commit a66905e88c
1 changed files with 2 additions and 1 deletions

View File

@ -1523,6 +1523,7 @@ def main():
overview_task_labels) overview_task_labels)
# Sync all queued up changes # Sync all queued up changes
if api.queue:
sync(api) sync(api)
num_changes = len(api.queue)+len(api.overview_updated_ids) num_changes = len(api.queue)+len(api.overview_updated_ids)