v0.47.1 Fix .id nil bug

This commit is contained in:
David Sainty 2024-08-18 16:13:05 +10:00
parent 3e608d599b
commit 2d233fdb42

View File

@ -1111,7 +1111,7 @@ class GossamerForumsImporter < ImportScripts::Base
# Run until all posts have been processed. # Run until all posts have been processed.
until is_complete until is_complete
puts "QQ 11 -- GETTING NEXT BATCH ****************************************" # puts "QQ 11 -- GETTING NEXT BATCH ****************************************"
#### # Query in batches, create pool, wait for termination, do it again #### # Query in batches, create pool, wait for termination, do it again
#### current_post_batch_max = current_post_batch + batch_size #### current_post_batch_max = current_post_batch + batch_size
@ -1122,7 +1122,7 @@ class GossamerForumsImporter < ImportScripts::Base
# Process each post in the current batch # Process each post in the current batch
current_post_batch.each do |post_id| current_post_batch.each do |post_id|
puts "QQ 22 -- #{post_id}" # puts "QQ 22 -- #{post_id}"
####### # Static pool size based on number of CPUs ####### # Static pool size based on number of CPUs