[CP][bugfix] control max threads allocates to a sqc
This commit is contained in:
@ -129,7 +129,7 @@ class ObTenantCpuShare
|
||||
{
|
||||
public:
|
||||
/* Return value: The number of px threads assigned to tenant_id tenant */
|
||||
static int64_t calc_px_pool_share(uint64_t tenant_id, int64_t cpu_count);
|
||||
static int64_t calc_px_pool_share(uint64_t tenant_id, int64_t min_cpu);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user