yiguolei commented on code in PR #39374: URL: https://github.com/apache/doris/pull/39374#discussion_r1718047171
########## be/src/agent/cgroup_cpu_ctl.h: ########## @@ -30,14 +30,16 @@ namespace doris { // cgroup cpu.cfs_quota_us default value, it means disable cpu hard limit const static int CGROUP_CPU_HARD_LIMIT_DEFAULT_VALUE = -1; +const static std::string CGROUP_V2_CPU_HARD_LIMIT_DEFAULT_VALUE = "max 100000"; class CgroupCpuCtl { public: virtual ~CgroupCpuCtl() = default; - CgroupCpuCtl() = default; CgroupCpuCtl(uint64_t wg_id) { _wg_id = wg_id; } - virtual Status init(); + static void init_doris_cgroup_path(); Review Comment: 把所有的static 方法放到一起,比如都放到开头或者都放到结尾,别乱放 -- 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