This commit is contained in:
chenjianxing 2020-07-29 14:09:21 +08:00
commit 24a2d357b3
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class ReportWebSocket {
if (!session.isOpen()) {
return;
}
if (PerformanceTestStatus.Running.name().equals(report.getStatus())) {
if (StringUtils.equalsAny(report.getStatus(), PerformanceTestStatus.Running.name(), PerformanceTestStatus.Reporting.name())) {
session.getBasicRemote().sendText("refresh-" + this.refresh++);
}
Thread.sleep(20 * 1000L);