yiguolei commented on code in PR #44739: URL: https://github.com/apache/doris/pull/44739#discussion_r1867000784
########## be/src/common/daemon.cpp: ########## @@ -500,15 +500,17 @@ void Daemon::cache_adjust_capacity_thread() { void Daemon::cache_prune_stale_thread() { int32_t interval = config::cache_periodic_prune_stale_sweep_sec; while (!_stop_background_threads_latch.wait_for(std::chrono::seconds(interval))) { - if (interval <= 0) { - LOG(WARNING) << "config of cache clean interval is illegal: [" << interval - << "], force set to 3600 "; + if (config::cache_periodic_prune_stale_sweep_sec <= 0) { + LOG(WARNING) << "config of cache clean interval is: [" << interval + << "], cache prune stale thread pause 3600s "; Review Comment: 我觉得原来的log,比现在你改的要好啊 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org