mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Merge pull request #33432 from ucasfl/wv
fix misleading log message in StorageWindowView
This commit is contained in:
commit
7b0aa12630
@ -877,12 +877,12 @@ void StorageWindowView::threadFuncFireEvent()
|
||||
std::unique_lock lock(fire_signal_mutex);
|
||||
while (!shutdown_called)
|
||||
{
|
||||
LOG_TRACE(log, "Fire events: {}", fire_signal.size());
|
||||
|
||||
bool signaled = std::cv_status::no_timeout == fire_signal_condition.wait_for(lock, std::chrono::seconds(5));
|
||||
if (!signaled)
|
||||
continue;
|
||||
|
||||
LOG_TRACE(log, "Fire events: {}", fire_signal.size());
|
||||
|
||||
while (!fire_signal.empty())
|
||||
{
|
||||
fire(fire_signal.front());
|
||||
|
Loading…
Reference in New Issue
Block a user