wangbo commented on code in PR #54243:
URL: https://github.com/apache/doris/pull/54243#discussion_r2256046074


##########
be/src/runtime/workload_group/workload_group.h:
##########
@@ -293,16 +283,18 @@ using WorkloadGroupPtr = std::shared_ptr<WorkloadGroup>;
 struct WorkloadGroupInfo {
     const uint64_t id = 0;
     const std::string name = "";
-    const uint64_t cpu_share = 0;
-    const int64_t memory_limit = 0;
-    const bool enable_memory_overcommit = false;
     const int64_t version = 0;
-    const int cpu_hard_limit = 0;
+    const int min_cpu_percent = 0;
+    const int max_cpu_percent = 100;
+    const bool enable_memory_overcommit = false;
+    const int64_t memory_limit = 1 << 30; // Default to 1GB

Review Comment:
   这个memory limit的作用是啥



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to