udpate omti.worker_pool while updating cpu_count config

This commit is contained in:
hnwyllmm
2022-03-25 18:09:49 +08:00
committed by LINxiansheng
parent e6d4caa074
commit 7035d791b4
3 changed files with 7 additions and 0 deletions

View File

@ -327,6 +327,7 @@ int ObServerReloadConfig::operator()()
share::ObTaskController::get().set_log_rate_limit(GCONF.syslog_io_bandwidth_limit.get_value());
if (nullptr != GCTX.omt_) {
GCTX.omt_->set_node_quota(GCONF.cpu_count.get_value());
GCTX.omt_->set_workers_per_cpu(GCONF.workers_per_cpu_quota.get_value());
}