mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Flush query metrics before joining thread #4612
This commit is contained in:
parent
47df38f7a0
commit
f49562bff3
@ -141,9 +141,11 @@ public:
|
||||
state = state,
|
||||
func = std::forward<Function>(func),
|
||||
args = std::make_tuple(std::forward<Args>(args)...)]
|
||||
{
|
||||
{
|
||||
DB::ThreadStatus thread_status;
|
||||
std::apply(func, args);
|
||||
}
|
||||
state->set();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user