From 16c261bedef29c242d2f238bf6cfe8274f93f3ce 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 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