From 7b71106f1a692ea9e6b7a86db3a33d8b7984301f Mon Sep 17 00:00:00 2001 From: saint Date: Mon, 19 Aug 2024 11:13:04 +1000 Subject: [PATCH] v0.48.2 batch size 1000, moving to local instance of MariaDB for slowtwitch db --- gossamer_forums.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 05db8e5..0ef244b 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -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 )