forked from ddrilling/AsbCloudServer
SubsystemOperationTimeService.CalcStat() limit kUsage.
This commit is contained in:
parent
591e1a6ef2
commit
219f409aa6
@ -145,8 +145,8 @@ namespace AsbCloudInfrastructure.Services.Subsystems
|
|||||||
SumDepthInterval = periodGroupDepth,
|
SumDepthInterval = periodGroupDepth,
|
||||||
OperationCount = g.Count()
|
OperationCount = g.Count()
|
||||||
};
|
};
|
||||||
if(subsystemStat.KUsage > 100)
|
if(subsystemStat.KUsage > 1)
|
||||||
subsystemStat.KUsage = 100;
|
subsystemStat.KUsage = 1;
|
||||||
return subsystemStat;
|
return subsystemStat;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user