lib/abid/engine/executor.rb
# Post the job if no external process executing the same job, wait the
# job finished otherwise.
Post the job if no external process executing the same job, wait the
job finished otherwise.
Post the job if no external process executing the same job wait the job finished otherwise .
def execute_or_wait
        if @process.state_service.try_start
          @worker.post { @process.capture_exception { execute } }
        else
          Waiter.new(@process).wait
        end
      end
def execute_or_wait if @process . state_service . try_start @worker . post { @process . capture_exception { execute } } else Waiter . new ( @process ) . wait end end
Post the job if no external process executing the same job, wait the
job finished otherwise.
Post the job if no external process executing the same job wait the job finished otherwise .