v0.48.2 batch size 1000, moving to local instance of MariaDB for slowtwitch db
This commit is contained in:
parent
bcac1f8881
commit
7b71106f1a
@ -51,11 +51,11 @@ class GossamerForumsImporter < ImportScripts::Base
|
|||||||
|
|
||||||
# Database configuration for ActiveRecord
|
# Database configuration for ActiveRecord
|
||||||
ActiveRecord::Base.establish_connection(
|
ActiveRecord::Base.establish_connection(
|
||||||
adapter: 'mysql2',
|
adapter: 'postgresql',
|
||||||
database: 'slowtwitch',
|
# database: 'slowtwitch',
|
||||||
username: 'admin',
|
# username: 'admin',
|
||||||
password: 'x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu',
|
# password: 'x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu',
|
||||||
host: '172.99.0.10',
|
# host: '172.99.0.10',
|
||||||
pool: 20, # Adjust based on concurrency needs
|
pool: 20, # Adjust based on concurrency needs
|
||||||
timeout: 5000
|
timeout: 5000
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user