Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ripping out the threading references

  • Loading branch information...
commit 9efb648ce689d40a7fb3ab9ebc4d3a658f760faf 1 parent 189a421
@rsinger authored
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|
Please sign in to comment.
Something went wrong with that request. Please try again.