Skip to content

Commit

Permalink
Merge pull request #61475 from ClickHouse/nickitat-patch-20
Browse files Browse the repository at this point in the history
Allow queuing in restore pool
  • Loading branch information
robot-ch-test-poll1 committed Mar 18, 2024
2 parents 15896ec + 8be4a3d commit fb2b5df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Backups/BackupsWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class BackupsWorker::ThreadPools
metric_active_threads = CurrentMetrics::RestoreThreadsActive;
metric_active_threads = CurrentMetrics::RestoreThreadsScheduled;
max_threads = num_restore_threads;
use_queue = (thread_pool_id != ThreadPoolId::RESTORE);
use_queue = true;
break;
}
}
Expand Down

0 comments on commit fb2b5df

Please sign in to comment.