v0.48.6 24-24-24
This commit is contained in:
parent
4be248cdd6
commit
bb3d296f5c
@ -38,7 +38,7 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
username: 'admin',
|
username: 'admin',
|
||||||
password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu",
|
password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu",
|
||||||
host: '172.99.0.10',
|
host: '172.99.0.10',
|
||||||
pool: 32, # Adjust based on concurrency needs
|
pool: 24, # Adjust based on concurrency needs
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1127,11 +1127,11 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
# Use CachedThreadPool for dynamic thread management
|
# Use CachedThreadPool for dynamic thread management
|
||||||
#### pool = Concurrent::CachedThreadPool.new
|
#### pool = Concurrent::CachedThreadPool.new
|
||||||
###### pool = Concurrent::FixedThreadPool.new(7)
|
###### pool = Concurrent::FixedThreadPool.new(7)
|
||||||
pool = Concurrent::FixedThreadPool.new(32)
|
pool = Concurrent::FixedThreadPool.new(24)
|
||||||
|
|
||||||
# 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: 32, timeout: 100) do
|
mariadb_pool = ConnectionPool.new(size: 24, timeout: 100) do
|
||||||
# host: "slowtwitch.northend.network",
|
# host: "slowtwitch.northend.network",
|
||||||
# username: "admin",
|
# username: "admin",
|
||||||
# password: "yxnh93Ybbz2Nm8#mp28zCVv",
|
# password: "yxnh93Ybbz2Nm8#mp28zCVv",
|
||||||
|
Loading…
Reference in New Issue
Block a user