Fix performance reduction for backgroup thread

This commit is contained in:
obdev
2023-05-22 06:47:06 +00:00
committed by ob-robot
parent 2bb8488595
commit 10f5920320
2 changed files with 2 additions and 2 deletions

View File

@ -2131,7 +2131,7 @@ void ObPrimaryLSService::do_work()
ret = OB_NOT_INIT;
LOG_WARN("not init", K(ret));
} else {
int64_t idle_time_us = 100 * 1000L;
int64_t idle_time_us = 1000 * 1000L;
int tmp_ret = OB_SUCCESS;
while (!has_set_stop()) {
{