Permalink
Browse files

Ripping out the threading references

  • Loading branch information...
1 parent 189a421 commit 9efb648ce689d40a7fb3ab9ebc4d3a658f760faf @rsinger committed Nov 9, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 openlibrary_to_rdf.rb
View
7 openlibrary_to_rdf.rb
@@ -1,8 +1,8 @@
require 'rubygems'
require 'json'
require 'zlib'
-require 'rdf/threadsafe'
-require 'jruby_threach'
+require 'rdf'
+require 'rdf/ntriples'
require 'redis'
require 'isbn/tools'
require 'openlibrary'
@@ -33,8 +33,7 @@
queue << resource if resource
if queue.length > 1000
- #queue.each do |r|
- queue.threach(3) do |r|
+ queue.each do |r|
r.parse_data
end
queue.each do |r|

0 comments on commit 9efb648

Please sign in to comment.