Less cycles to restart the plotter

This commit is contained in:
Luis Fernando Molina committed 2019-06-24 17:34:29 +02:00
1 parent dfe024741b
commit 7316b5b7b4
1 file changed
+3 -2
+3 -2
View File
@@ -113,7 +113,7 @@ function newRestartSimulation () {
thisObject.status = 'Restarting'
await graphQlRestartSimulation(simulationParams)
thisObject.status = 'Calculating'
counterTillNextState = 2000
counterTillNextState = 250
} else {
thisObject.status = 'Error'
counterTillNextState = 500
@@ -165,7 +165,7 @@ function newRestartSimulation () {
case 'Calculating':
thisObject.status = 'Refreshing'
turnOffProductCards()
counterTillNextState = 250
counterTillNextState = 50
break
case 'Refreshing':
thisObject.status = 'Ready'
@@ -276,3 +276,4 @@ function newRestartSimulation () {
browserCanvasContext.fillText(label, labelPoint.x, labelPoint.y)
}
}