Merge pull request #27452 from benbiti/master

fix metric BackgroundMessageBrokerSchedulePoolTask
This commit is contained in:
Maksim Kita 2021-08-09 11:54:17 +03:00 committed by GitHub
commit 939106a5b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1731,7 +1731,7 @@ BackgroundSchedulePool & Context::getMessageBrokerSchedulePool() const
if (!shared->message_broker_schedule_pool)
shared->message_broker_schedule_pool.emplace(
settings.background_message_broker_schedule_pool_size,
CurrentMetrics::BackgroundDistributedSchedulePoolTask,
CurrentMetrics::BackgroundMessageBrokerSchedulePoolTask,
"BgMBSchPool");
return *shared->message_broker_schedule_pool;
}