Update ServiceNameService.java (#1515)

resolve the Integer overflow,convert the value to Long type
This commit is contained in:
terranhu 2018-08-03 09:56:00 +08:00 committed by 吴晟 Wu Sheng
parent c10fc67838
commit 20cee98fc2
1 changed files with 1 additions and 1 deletions

View File

@ -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,