mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
[fix] fix the bug of worker score not cached
This commit is contained in:
parent
90c79aac08
commit
32a9f446b0
@ -56,7 +56,8 @@ public class SystemMetrics implements OmsSerializable, Comparable<SystemMetrics>
|
|||||||
cpuScore = 1;
|
cpuScore = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (int) (memScore + cpuScore);
|
score = (int) (memScore + cpuScore);
|
||||||
|
return score;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user