From 0ca763449b3a409bebb3fefec1fc413d94d7f5e2 Mon Sep 17 00:00:00 2001 From: MAURA Mathieu Date: Tue, 16 Jun 2026 03:10:10 +0200 Subject: [PATCH] . --- imapsync_daemon.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/imapsync_daemon.py b/imapsync_daemon.py index 284c338..08900df 100755 --- a/imapsync_daemon.py +++ b/imapsync_daemon.py @@ -222,8 +222,8 @@ def renew_oauth2_token(dry: bool) -> bool: # ───────────────────────────────────────────── def run_tests() -> bool: http.client.HTTPConnection.debuglevel = 1 - print(f" → priority: {grist_fetch_priority_bals()}") - # print(f" → repasses: {grist_fetch_repass_bals()}") + # print(f" → priority: {grist_fetch_priority_bals()}") + print(f" → repasses: {grist_fetch_repass_bals()}") return True @@ -249,7 +249,7 @@ def grist_fetch_new_bals() -> list[dict]: try: # 1. Récupération triée via l'API Grist params = { - # "limit": NB_CONCURENT_NEW_BAL, + "limit": NB_CONCURENT_NEW_BAL * 3, "filter": json.dumps( {COL_FINI: [False], COL_SYNC: [True], COL_SUCCESS: [False]} ), @@ -295,7 +295,7 @@ def grist_fetch_repass_bals() -> list[dict]: try: # 1. Récupération triée via l'API Grist params = { - # "limit": NB_CONCURENT_REPASS_BAL, + "limit": NB_CONCURENT_REPASS_BAL * 3, "filter": json.dumps( {COL_FINI: [False], COL_SYNC: [True], COL_SUCCESS: [True]} ), @@ -359,7 +359,7 @@ def grist_fetch_priority_bals() -> list[dict]: try: # 1. Récupération triée via l'API Grist params = { - # "limit": NB_CONCURENT_PRIORITY_BAL, + "limit": NB_CONCURENT_PRIORITY_BAL * 3, "filter": json.dumps({COL_FINI: [True], COL_SUCCESS: [True]}), "sort": COL_LAST_PASS, }