diff --git a/gossamer_forums.rb b/gossamer_forums.rb index e9ec085..04f5a7f 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -950,6 +950,7 @@ class GossamerForumsImporter < ImportScripts::Base topic_import_job(post_id) end current_post_batch += 1 + break if current_post_batch >= parent_post_count end pool.shutdown