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:18:41 +10:00
parent 7b71106f1a
commit 6c33de940c

View File

@ -52,10 +52,10 @@ class GossamerForumsImporter < ImportScripts::Base
# Database configuration for ActiveRecord
ActiveRecord::Base.establish_connection(
adapter: 'postgresql',
# database: 'slowtwitch',
# username: 'admin',
# password: 'x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu',
# host: '172.99.0.10',
database: 'slowtwitch',
username: 'admin',
password: 'yxnh93Ybbz2Nm8#mp28zCVv',
host: 'slowtwitch.northend.network',
pool: 20, # Adjust based on concurrency needs
timeout: 5000
)