lib/cpee/implementation.rb in cpee-2.1.52 vs lib/cpee/implementation.rb in cpee-2.1.53

- old
+ new

@@ -89,10 +89,10 @@ CPEE::redis_connect opts, 'Server Main' opts[:sse_keepalive_frequency] ||= 10 opts[:sse_connections] = {} - opts[:statemachine] = CPEE::StateMachine.new opts[:states], %w{running simulating replaying finishing stopping abandoned finished} do |id| + opts[:statemachine] = CPEE::StateMachine.new opts[:states], %w{running simulating finishing stopping abandoned finished} do |id| CPEE::Persistence::extract_item(id,opts,"state") end opts[:runtime_cmds] << [ "startclean", "Delete instances before starting.", Proc.new { |status|