mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Changelog delete useless sleep in dctor
This commit is contained in:
parent
6db770f841
commit
96fe231c35
@ -723,8 +723,6 @@ Changelog::~Changelog()
|
||||
{
|
||||
flush();
|
||||
log_files_to_delete_queue.finish();
|
||||
/// Wait for background thread to finish to remove all logs
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(2000));
|
||||
if (clean_log_thread.joinable())
|
||||
clean_log_thread.join();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user