index out of range issue fixed

This commit is contained in:
Ross Trottier 2024-08-15 12:51:07 -06:00 committed by David Sainty
parent b73be6d27f
commit 16c261bede

View File

@ -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