correction de l'algo de repartition des threads

This commit is contained in:
2026-06-16 01:51:59 +02:00
parent 4df38342f9
commit 672b2546d9
2 changed files with 265 additions and 133 deletions
+12 -12
View File
@@ -17,14 +17,15 @@ COL_EMAIL=Courriel #Addresse a synchoniser
COL_SYNC=Synchronisation #Bool si vrai, synchoniser
COL_PRIORITY=priority
COL_NB_SYNCS=Nb_syncs #contient le nombre de synchonisation de la BAL
# Colonnes Grist TABLE_HISTORIQUE
COL_BAL=Bal
COL_STATUS=Status
COL_NB_EMAILS=Nb_emails
COL_DUREE_SEC=Duree_sec
COL_LOG=Log
COL_DATE=Date
COL_SUCCESS=Synchonisee_au_moins_une_fois
COL_LAST_PASS=Date_derniere_passe
# Colonnes Grist TABLE_HISTORIQUE
COL_BAL=Bal
COL_STATUS=Status
COL_NB_EMAILS=Nb_emails
COL_DUREE_SEC=Duree_sec
COL_LOG=Log
COL_DATE=Date
# ── Serveurs IMAP ─────────────────────────────────────────────
HOST1=imap.source.fr
@@ -43,7 +44,6 @@ IMAPSYNC=/usr/bin/imapsync
TMPDIR_CACHE=/home/migration/imapsync_cache
# ── Parallélisme et polling ───────────────────────────────────
N_WORKERS=4
POLL_INTERVAL=30
# Part des slots réservés aux BAL jamais synchronisées (0.0 1.0, défaut 20%)
NEW_RATIO=0.20
NB_CONCURENT_NEW_BAL=3
NB_CONCURENT_REPASS_BAL=3
NB_CONCURENT_PRIORITY_BAL=3