index out of range issue fixed
This commit is contained in:
@@ -950,6 +950,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
topic_import_job(post_id)
|
topic_import_job(post_id)
|
||||||
end
|
end
|
||||||
current_post_batch += 1
|
current_post_batch += 1
|
||||||
|
break if current_post_batch >= parent_post_count
|
||||||
end
|
end
|
||||||
|
|
||||||
pool.shutdown
|
pool.shutdown
|
||||||
|
Reference in New Issue
Block a user