lib/zold/node/farm.rb in zold-0.13.8 vs lib/zold/node/farm.rb in zold-0.13.9
- old
+ new
@@ -101,12 +101,12 @@
@log.info("Terminating the farm with #{@threads.count} threads...")
start = Time.now
@threads.each do |t|
tstart = Time.now
t.exit
- @log.info("Thread #{t.name} terminated in #{((Time.now - tstart) / 60).round(2)}s")
+ @log.info("Thread #{t.name} terminated in #{(Time.now - tstart).round(2)}s")
end
- @log.info("Farm stopped in #{((Time.now - start) / 60).round(2)}s")
+ @log.info("Farm stopped in #{(Time.now - start).round(2)}s")
end
private
def save(score)