v0.48.5 Batch size 1000, double councurrency numbers
This commit is contained in:
parent
d9ae43b78b
commit
fc62e223ab
@ -1130,7 +1130,7 @@ 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: 48, timeout: 100) do
|
mariadb_pool = ConnectionPool.new(size: 24, timeout: 100) do
|
||||||
Mysql2::Client.new(
|
Mysql2::Client.new(
|
||||||
host: "slowtwitch.northend.network",
|
host: "slowtwitch.northend.network",
|
||||||
username: "admin",
|
username: "admin",
|
||||||
|
Loading…
Reference in New Issue
Block a user