v0.48.6 40-40-40

This commit is contained in:
David Sainty 2024-08-19 13:42:03 +10:00
parent 7fde0fa255
commit 6b4b728751

View File

@ -44,9 +44,9 @@ class GossamerForumsImporter < ImportScripts::Base
# Initialize MySQL client to connect to Gossamer Forums database # Initialize MySQL client to connect to Gossamer Forums database
@mysql_client = Mysql2::Client.new( @mysql_client = Mysql2::Client.new(
host: "slowtwitch.northend.network", host: "172.99.0.10",
username: "admin", username: "admin",
password: "yxnh93Ybbz2Nm8#mp28zCVv", password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu",
database: "slowtwitch" database: "slowtwitch"
) )
rescue Mysql2::Error => e rescue Mysql2::Error => e
@ -1132,10 +1132,14 @@ class GossamerForumsImporter < ImportScripts::Base
# Define the connection pool inside the method # Define the connection pool inside the method
###### mariadb_pool = ConnectionPool.new(size: 14, timeout: 100) do ###### mariadb_pool = ConnectionPool.new(size: 14, timeout: 100) do
mariadb_pool = ConnectionPool.new(size: 40, timeout: 100) do mariadb_pool = ConnectionPool.new(size: 40, timeout: 100) do
# host: "slowtwitch.northend.network",
# username: "admin",
# password: "yxnh93Ybbz2Nm8#mp28zCVv",
# database: "slowtwitch"
Mysql2::Client.new( Mysql2::Client.new(
host: "slowtwitch.northend.network", host: "172.99.0.10",
username: "admin", username: "admin",
password: "yxnh93Ybbz2Nm8#mp28zCVv", password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu",
database: "slowtwitch" database: "slowtwitch"
) )
end end