some issues

This commit is contained in:
2025-02-01 15:52:16 +09:00
parent e5e7a7f054
commit 157f47d86d
6 changed files with 200 additions and 43 deletions

View File

@@ -314,7 +314,7 @@ def scheduled_sync():
except Exception as e:
logger.error(f"Error syncing connection {db_settings}: {e}")
with ThreadPoolExecutor(max_workers=5) as executor:
with ThreadPoolExecutor(max_workers=10) as executor:
futures = [executor.submit(sync_task, db_settings) for db_settings in active_db_settings]
for future in futures:
try: