Update ServiceNameService.java (#1515)
resolve the Integer overflow,convert the value to Long type
This commit is contained in:
parent
c10fc67838
commit
20cee98fc2
|
|
@ -77,7 +77,7 @@ public class ServiceNameService {
|
|||
|
||||
private long startTimeMillis() {
|
||||
int minuteMetricDataTTL = configService.minuteMetricDataTTL();
|
||||
return System.currentTimeMillis() - minuteMetricDataTTL * 60 * 1000;
|
||||
return System.currentTimeMillis() - minuteMetricDataTTL * 60 * 1000L;
|
||||
}
|
||||
|
||||
public ThroughputTrend getServiceThroughputTrend(int serviceId, Step step, long startTimeBucket,
|
||||
|
|
|
|||
Loading…
Reference in New Issue