mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Remove wrong comment
This commit is contained in:
parent
e513fc1985
commit
44b787c1c9
@ -54,7 +54,6 @@ ThreadPoolCallbackRunnerUnsafe<Result, Callback> threadPoolCallbackRunnerUnsafe(
|
||||
|
||||
auto future = task->get_future();
|
||||
|
||||
/// ThreadPool is using "bigger is higher priority" instead of "smaller is more priority".
|
||||
/// Note: calling method scheduleOrThrowOnError in intentional, because we don't want to throw exceptions
|
||||
/// in critical places where this callback runner is used (e.g. loading or deletion of parts)
|
||||
my_pool->scheduleOrThrowOnError([my_task = std::move(task)]{ (*my_task)(); }, priority);
|
||||
@ -163,7 +162,6 @@ public:
|
||||
|
||||
task->future = task_func->get_future();
|
||||
|
||||
/// ThreadPool is using "bigger is higher priority" instead of "smaller is more priority".
|
||||
/// Note: calling method scheduleOrThrowOnError in intentional, because we don't want to throw exceptions
|
||||
/// in critical places where this callback runner is used (e.g. loading or deletion of parts)
|
||||
pool.scheduleOrThrowOnError([my_task = std::move(task_func)]{ (*my_task)(); }, priority);
|
||||
|
Loading…
Reference in New Issue
Block a user