fix incorrect variable

This commit is contained in:
zhjc1124
2023-09-15 04:40:07 +00:00
committed by ob-robot
parent 3760b224a2
commit cce6e8ff0c

View File

@ -183,7 +183,7 @@ double ObServerConfig::get_sys_tenant_default_min_cpu()
double ObServerConfig::get_sys_tenant_default_max_cpu()
{
double max_cpu = server_cpu_quota_min;
double max_cpu = server_cpu_quota_max;
if (0 == max_cpu) {
int64_t cpu_count = get_cpu_count();
if (cpu_count < 8) {