From 1811f7f3e02bb62e5b0bd6b2616da5d6bfd8aa7a Mon Sep 17 00:00:00 2001 From: Ross Trottier Date: Thu, 15 Aug 2024 12:51:07 -0600 Subject: [PATCH] index out of range issue fixed --- gossamer_forums.rb | 1 + 1 file changed, 1 insertion(+) 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