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

Co-authored-by: BugKing <wangzhen@fit2cloud.com>
This commit is contained in:
metersphere-bot 2021-08-25 20:45:15 +08:00 committed by GitHub
parent f5f9e2445b
commit c8201ac7f3
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);