[CP][bugfix] control max threads allocates to a sqc

This commit is contained in:
raywill
2023-04-07 03:07:02 +00:00
committed by ob-robot
parent 840ca57665
commit 51e4cd6636
5 changed files with 20 additions and 22 deletions

View File

@ -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);
};
}