Optimize cpu consumption for arb server.
This commit is contained in:
@ -207,7 +207,7 @@ int PalfEnvImpl::init(
|
||||
PALF_LOG(ERROR, "construct log path failed", K(ret), K(pret));
|
||||
} else if (OB_FAIL(palf_handle_impl_map_.init("LOG_HASH_MAP", tenant_id))) {
|
||||
PALF_LOG(ERROR, "palf_handle_impl_map_ init failed", K(ret));
|
||||
} else if (OB_FAIL(log_loop_thread_.init(this))) {
|
||||
} else if (OB_FAIL(log_loop_thread_.init(true, this))) {
|
||||
PALF_LOG(ERROR, "log_loop_thread_ init failed", K(ret));
|
||||
} else if (OB_FAIL(
|
||||
election_timer_.init_and_start(1, 1_ms, "ElectTimer"))) { // just one worker thread
|
||||
|
||||
Reference in New Issue
Block a user