diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 84f54ea..8ff602f 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1108,7 +1108,7 @@ class GossamerForumsImporter < ImportScripts::Base # Submit the import job for the current post_id to the thread pool pool.post do - puts "PP 11" + puts "PP 11 -- #{post_id}" # Initialise a new MariaDB / Mysql2 client inside of each thread mysql_client = Mysql2::Client.new( host: "slowtwitch.northend.network", @@ -1117,8 +1117,8 @@ class GossamerForumsImporter < ImportScripts::Base database: "slowtwitch" ) - puts "PP 22" - # Use connection ppoling for PostgreSQL and synchronize access to shared resources + puts "PP 22 -- ${post_id}" + # Use connection pooling for PostgreSQL and synchronize access to shared resources ActiveRecord::Base.connection_pool.with_connection do ### mutex.synchronize do begin