fix(性能测试): 修复监控数据查询步长过长问题 (#5695)

Co-authored-by: BugKing <wangzhen@fit2cloud.com>
This commit is contained in:
metersphere-bot 2021-08-25 20:35:01 +08:00 committed by GitHub
parent 68177e988e
commit 78f5b7e65a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ public class MetricQueryService {
.findFirst();
if (dataOptional.isPresent()) {
GranularityData.Data data = dataOptional.get();
granularity = data.getGranularity();
granularity = data.getGranularity() / 1000;
}
} catch (Exception e) {
LogUtil.error(e.getMessage(), e);