You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@skywalking.apache.org by pe...@apache.org on 2018/07/08 06:04:28 UTC
[incubator-skywalking] branch release/5.0.0-beta2 updated: Update
ServiceNameService.java (#1434)
This is an automated email from the ASF dual-hosted git repository.
pengys pushed a commit to branch release/5.0.0-beta2
in repository https://gitbox.apache.org/repos/asf/incubator-skywalking.git
The following commit(s) were added to refs/heads/release/5.0.0-beta2 by this push:
new 06e87de Update ServiceNameService.java (#1434)
06e87de is described below
commit 06e87defc95f353579bc3d66866398c413082cd1
Author: IdealSpark <id...@foxmail.com>
AuthorDate: Sun Jul 8 14:04:24 2018 +0800
Update ServiceNameService.java (#1434)
update method startTimeMillis()
---
.../apache/skywalking/apm/collector/ui/service/ServiceNameService.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apm-collector/apm-collector-ui/collector-ui-jetty-provider/src/main/java/org/apache/skywalking/apm/collector/ui/service/ServiceNameService.java b/apm-collector/apm-collector-ui/collector-ui-jetty-provider/src/main/java/org/apache/skywalking/apm/collector/ui/service/ServiceNameService.java
index 8f2fa22..fe9aaba 100644
--- a/apm-collector/apm-collector-ui/collector-ui-jetty-provider/src/main/java/org/apache/skywalking/apm/collector/ui/service/ServiceNameService.java
+++ b/apm-collector/apm-collector-ui/collector-ui-jetty-provider/src/main/java/org/apache/skywalking/apm/collector/ui/service/ServiceNameService.java
@@ -77,7 +77,7 @@ public class ServiceNameService {
private long startTimeMillis() {
int minuteMetricDataTTL = configService.minuteMetricDataTTL();
- return System.currentTimeMillis() - minuteMetricDataTTL * 60 * 60 * 100;
+ return System.currentTimeMillis() - minuteMetricDataTTL * 60 * 1000;
}
public ThroughputTrend getServiceThroughputTrend(int serviceId, Step step, long startTimeBucket,