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
|
||||
ActiveRecord::Base.establish_connection(
|
||||
adapter: 'mysql2',
|
||||
database: 'slowtwitch',
|
||||
username: 'admin',
|
||||
password: 'x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu',
|
||||
host: '172.99.0.10',
|
||||
adapter: 'postgresql',
|
||||
# database: 'slowtwitch',
|
||||
# username: 'admin',
|
||||
# password: 'x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu',
|
||||
# host: '172.99.0.10',
|
||||
pool: 20, # Adjust based on concurrency needs
|
||||
timeout: 5000
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user