v0.48.2 batch size 1000, moving to local instance of MariaDB for slowtwitch db

This commit is contained in:
David Sainty 2024-08-19 11:13:04 +10:00
parent bcac1f8881
commit 7b71106f1a

View File

@ -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
)