github-actions[bot] commented on code in PR #16968: URL: https://github.com/apache/doris/pull/16968#discussion_r1112491928
########## be/src/olap/data_dir.cpp: ########## @@ -678,7 +678,14 @@ void DataDir::perform_path_scan() { << " error[" << ret.to_string() << "]"; continue; } + + int counter = 0; for (const auto& schema_hash : schema_hashes) { + ++counter; + int32_t interval_ms = config::path_scan_step_interval_ms; + if (interval_ms > 0) { + SleepFor(MonoDelta::FromMilliseconds(interval_ms)); Review Comment: warning: use of undeclared identifier 'MonoDelta' [clang-diagnostic-error] ```cpp SleepFor(MonoDelta::FromMilliseconds(interval_ms)); ^ ``` -- 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