压力测试仿真不记录仿真时长
This commit is contained in:
parent
94d5f4a4ef
commit
f225f67e4b
@ -77,7 +77,8 @@ public class UserSimulationStatsManager {
|
|||||||
if (simulation == null) {
|
if (simulation == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (simulation.isScriptMakingSimulation() || simulation.isScriptPreviewSimulation()) {
|
if (simulation.isScriptMakingSimulation() || simulation.isScriptPreviewSimulation() ||
|
||||||
|
simulation.isStressTestSimulation()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
SimulationMember simulationMemberForSelf = simulation.querySimulationMemberByUserId(userId);
|
SimulationMember simulationMemberForSelf = simulation.querySimulationMemberByUserId(userId);
|
||||||
@ -95,7 +96,8 @@ public class UserSimulationStatsManager {
|
|||||||
* 仿真销毁,持久化数据
|
* 仿真销毁,持久化数据
|
||||||
*/
|
*/
|
||||||
public void simulationDestroy(Simulation simulation) {
|
public void simulationDestroy(Simulation simulation) {
|
||||||
if (simulation.isScriptMakingSimulation() || simulation.isScriptPreviewSimulation()) { //剧本编制和预览仿真不记录
|
if (simulation.isScriptMakingSimulation() || simulation.isScriptPreviewSimulation() ||
|
||||||
|
simulation.isStressTestSimulation()) { //剧本编制和预览仿真不记录
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user