From 6b4b7287519e2adc0ec7f21404606501bd22c90c Mon Sep 17 00:00:00 2001 From: saint Date: Mon, 19 Aug 2024 13:42:03 +1000 Subject: [PATCH] v0.48.6 40-40-40 --- gossamer_forums.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gossamer_forums.rb b/gossamer_forums.rb index c01ea0d..7506250 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -44,9 +44,9 @@ class GossamerForumsImporter < ImportScripts::Base # Initialize MySQL client to connect to Gossamer Forums database @mysql_client = Mysql2::Client.new( - host: "slowtwitch.northend.network", + host: "172.99.0.10", username: "admin", - password: "yxnh93Ybbz2Nm8#mp28zCVv", + password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu", database: "slowtwitch" ) rescue Mysql2::Error => e @@ -1132,10 +1132,14 @@ class GossamerForumsImporter < ImportScripts::Base # Define the connection pool inside the method ###### mariadb_pool = ConnectionPool.new(size: 14, 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( - host: "slowtwitch.northend.network", + host: "172.99.0.10", username: "admin", - password: "yxnh93Ybbz2Nm8#mp28zCVv", + password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu", database: "slowtwitch" ) end