Merge branch 'v1.1' of https://github.com/metersphere/server into v1.1
This commit is contained in:
commit
24a2d357b3
|
@ -87,7 +87,7 @@ public class ReportWebSocket {
|
||||||
if (!session.isOpen()) {
|
if (!session.isOpen()) {
|
||||||
return;
|
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++);
|
session.getBasicRemote().sendText("refresh-" + this.refresh++);
|
||||||
}
|
}
|
||||||
Thread.sleep(20 * 1000L);
|
Thread.sleep(20 * 1000L);
|
||||||
|
|
Loading…
Reference in New Issue