[fix] fix the bug of worker score not cached

This commit is contained in:
朱八 2020-08-03 00:17:46 +08:00
parent 90c79aac08
commit 32a9f446b0

View File

@ -56,7 +56,8 @@ public class SystemMetrics implements OmsSerializable, Comparable<SystemMetrics>
cpuScore = 1;
}
return (int) (memScore + cpuScore);
score = (int) (memScore + cpuScore);
return score;
}
/**