index out of range issue fixed
This commit is contained in:
parent
6c85157c28
commit
1811f7f3e0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user