v0.39.7 Fixes/tweaks in calculate_dynamic_pool_size
This commit is contained in:
parent
524fae9283
commit
1f09322207
@ -1090,7 +1090,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
# Check if the post has already been processed or is incomplete
|
# Check if the post has already been processed or is incomplete
|
||||||
post_status = post_status(post_id)
|
post_status = post_status(post_id)
|
||||||
if post_status.nil? || post_status == 0
|
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
|
# Submit the import job for the current post_id to the thread pool
|
||||||
pool.post do
|
pool.post do
|
||||||
|
Loading…
Reference in New Issue
Block a user