diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 8243bcc..ee6d79f 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