mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-23 18:20:50 +00:00
Fixed error with BackgroundProcesssingPool [#METRIKASUPP-7484].
This commit is contained in:
parent
621da9c2f7
commit
8ba7a32410
@ -185,7 +185,7 @@ void BackgroundProcessingPool::threadFunction()
|
||||
std::unique_lock<std::mutex> lock(tasks_mutex);
|
||||
|
||||
if (task->removed)
|
||||
return;
|
||||
continue;
|
||||
|
||||
tasks.erase(task->iterator);
|
||||
task->iterator = tasks.emplace(next_time_to_execute, task);
|
||||
|
Loading…
Reference in New Issue
Block a user