Importer for mbox format
This commit is contained in:
parent
410ae47dd7
commit
33a5fce124
3 changed files with 170 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
require File.expand_path(File.dirname(__FILE__) + "/base.rb")
|
||||
require 'pg'
|
||||
|
||||
class ImportScripts::MyAskBot < ImportScripts::Base
|
||||
class ImportScripts::Nabble < ImportScripts::Base
|
||||
# CHANGE THESE BEFORE RUNNING THE IMPORTER
|
||||
|
||||
BATCH_SIZE = 1000
|
||||
|
@ -148,4 +148,4 @@ class ImportScripts::MyAskBot < ImportScripts::Base
|
|||
end
|
||||
end
|
||||
|
||||
ImportScripts::MyAskBot.new.perform
|
||||
ImportScripts::Nabble.new.perform
|
||||
|
|
Reference in a new issue