Skip to content

Commit

Permalink
Tide up outputs from dlthread.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
nidev committed Aug 25, 2015
1 parent d564598 commit 7098555
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/rbitter/dlthread.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ def initialize(dlfolder, large_flag)
def <<(url_array)
if @pool.length >= MAX_THREADS
job_cleanup
else
puts "[dlthread] Stacked threads: #{@pool.length}"
end

download_task = Thread.new do
Expand All @@ -51,8 +49,7 @@ def <<(url_array)
}
}
rescue => e
puts "[dlthread] exception"
puts e.inspect
puts "[dlthread] exception from thread -> #{e.to_s}"
end
}
end
Expand Down

0 comments on commit 7098555

Please sign in to comment.