fix(性能测试): 修复监控数据查询步长过长问题 (#5695)
Co-authored-by: BugKing <wangzhen@fit2cloud.com>
This commit is contained in:
parent
68177e988e
commit
78f5b7e65a
|
@ -266,7 +266,7 @@ public class MetricQueryService {
|
||||||
.findFirst();
|
.findFirst();
|
||||||
if (dataOptional.isPresent()) {
|
if (dataOptional.isPresent()) {
|
||||||
GranularityData.Data data = dataOptional.get();
|
GranularityData.Data data = dataOptional.get();
|
||||||
granularity = data.getGranularity();
|
granularity = data.getGranularity() / 1000;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LogUtil.error(e.getMessage(), e);
|
LogUtil.error(e.getMessage(), e);
|
||||||
|
|
Loading…
Reference in New Issue