From 1199b4036f246417bf7b04bea41462ea470b9b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Fri, 6 Sep 2024 13:39:22 +0200 Subject: [PATCH] remove pool size 1 during sync --- src/account/command/sync.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/account/command/sync.rs b/src/account/command/sync.rs index 30306bc..7d48c20 100644 --- a/src/account/command/sync.rs +++ b/src/account/command/sync.rs @@ -230,7 +230,7 @@ impl SynchronizeAccountCommand { "Estimated patch length for account {account_name} to be synchronized: {hunks_count}\n" ))?; } else if printer.is_json() { - sync_builder.with_pool_size(1).sync().await?; + sync_builder.sync().await?; printer.out(format!("Account {account_name} successfully synchronized!"))?; } else { let multi = MultiProgress::new(); @@ -244,7 +244,6 @@ impl SynchronizeAccountCommand { main_progress.tick(); let report = sync_builder - .with_pool_size(1) .with_handler(move |evt| { match evt { SyncEvent::ListedAllFolders => {