Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into upstream-changes-20…
Browse files Browse the repository at this point in the history
…160418
  • Loading branch information
johnsyweb committed Apr 18, 2016
2 parents 1b31e4b + a1c0297 commit da0db33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wraith/save_images.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def run_command(command)
end

def parallel_task(jobs)
Parallel.each(jobs, :in_threads => 8) do |_label, _path, width, url, filename, selector, global_before_capture, path_before_capture|
Parallel.each(jobs, :in_processes => Parallel.processor_count) do |_label, _path, width, url, filename, selector, global_before_capture, path_before_capture|
begin
command = construct_command(width, url, filename, selector, global_before_capture, path_before_capture)
attempt_image_capture(command, filename)
Expand Down

0 comments on commit da0db33

Please sign in to comment.