From 544070e578eb866ef362f5c3508b80b95fca5f39 Mon Sep 17 00:00:00 2001 From: Nick Winter Date: Wed, 26 Mar 2014 12:34:45 -0700 Subject: [PATCH] Fix for infinite loop fix. --- app/lib/simulator/Simulator.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/simulator/Simulator.coffee b/app/lib/simulator/Simulator.coffee index 3523884c6..61dc1ec5d 100644 --- a/app/lib/simulator/Simulator.coffee +++ b/app/lib/simulator/Simulator.coffee @@ -95,7 +95,7 @@ module.exports = class Simulator extends CocoClass onInfiniteLoop: -> console.warn "Skipping infinitely looping game." @trigger 'statusUpdate', "Infinite loop detected; grabbing a new game in #{@retryDelayInSeconds} seconds." - _.delay @cleanupAndSimulateAnotherTask, @retryDelayInMilliseconds + _.delay @cleanupAndSimulateAnotherTask, @retryDelayInSeconds * 1000 processResults: (simulationResults) -> taskResults = @formTaskResultsObject simulationResults