lib/advance.rb in advance-0.3.9 vs lib/advance.rb in advance-0.3.10

- old
+ new

@@ -28,10 +28,10 @@ else {} end last_run_number = meta["last_run_number"] ||= -1 $run_number = last_run_number + 1 - $cores=`sysctl -n hw.ncpu`.to_i + $cores=`nproc`.to_i puts "Multi steps will use #{$cores} cores" end def update_meta(step_number, processing_mode, label, command, start_time, duration, file_count) meta =