github-actions[bot] commented on code in PR #42333: URL: https://github.com/apache/doris/pull/42333#discussion_r1812382033
########## be/src/pipeline/task_scheduler.cpp: ########## @@ -97,7 +97,7 @@ void _close_task(PipelineTask* task, Status exec_status) { task->fragment_context()->close_a_pipeline(task->pipeline_id()); } -void TaskScheduler::_do_work(size_t index) { +void TaskScheduler::_do_work(int index) { Review Comment: warning: function '_do_work' exceeds recommended size/complexity thresholds [readability-function-size] ```cpp void TaskScheduler::_do_work(int index) { ^ ``` <details> <summary>Additional context</summary> **be/src/pipeline/task_scheduler.cpp:99:** 88 lines including whitespace and comments (threshold 80) ```cpp void TaskScheduler::_do_work(int index) { ^ ``` </details> -- 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