v0.39.7 Fixes/tweaks in calculate_dynamic_pool_size

This commit is contained in:
David Sainty 2024-08-17 03:09:40 +10:00
parent 524fae9283
commit 1f09322207

View File

@ -1090,7 +1090,7 @@ class GossamerForumsImporter < ImportScripts::Base
# Check if the post has already been processed or is incomplete
post_status = post_status(post_id)
if post_status.nil? || post_status == 0
puts "Starting import for post_id #{post_id} in batch #{current_post_batch / batch_size + 1} with #{thread_count} threads"
puts "Starting import for post_id #{post_id} in batch #{current_post_batch / batch_size + 1} with #{pool_size} threads"
# Submit the import job for the current post_id to the thread pool
pool.post do