v0.48.6 24-24-24
This commit is contained in:
parent
ae77b3c966
commit
cade03e3b0
@ -36,17 +36,22 @@ class GossamerForumsImporter < ImportScripts::Base
|
||||
adapter: 'postgresql',
|
||||
database: 'slowtwitch',
|
||||
username: 'admin',
|
||||
password: "admin",
|
||||
password: "yxnh93Ybbz2Nm8#mp28zCVv",
|
||||
host: 'slowtwitch.northend.network',
|
||||
pool: 24, # Adjust based on concurrency needs
|
||||
timeout: 5000
|
||||
)
|
||||
|
||||
# host: "172.99.0.10",
|
||||
# username: "admin",
|
||||
# password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu",
|
||||
# database: "slowtwitch"
|
||||
|
||||
# Initialize MySQL client to connect to Gossamer Forums database
|
||||
@mysql_client = Mysql2::Client.new(
|
||||
host: "172.99.0.10",
|
||||
host: "slowtwitch.northend.network",
|
||||
username: "admin",
|
||||
password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu",
|
||||
password: "yxnh93Ybbz2Nm8#mp28zCVv",
|
||||
database: "slowtwitch"
|
||||
)
|
||||
rescue Mysql2::Error => e
|
||||
@ -1132,15 +1137,15 @@ 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: 24, timeout: 100) do
|
||||
# host: "172.99.0.10",
|
||||
# username: "admin",
|
||||
# password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu",
|
||||
# database: "slowtwitch"
|
||||
Mysql2::Client.new(
|
||||
# host: "slowtwitch.northend.network",
|
||||
# username: "admin",
|
||||
# password: "yxnh93Ybbz2Nm8#mp28zCVv",
|
||||
# database: "slowtwitch"
|
||||
Mysql2::Client.new(
|
||||
host: "172.99.0.10",
|
||||
username: "admin",
|
||||
password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu",
|
||||
database: "slowtwitch"
|
||||
)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user