From bb3d296f5cc657410cb75112543398d53eb334b5 Mon Sep 17 00:00:00 2001 From: saint Date: Mon, 19 Aug 2024 15:26:51 +1000 Subject: [PATCH] v0.48.6 24-24-24 --- ...er_forums.rb.swp => .nfs00000000000b6da800000003 | Bin gossamer_forums.rb | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) rename .gossamer_forums.rb.swp => .nfs00000000000b6da800000003 (100%) diff --git a/.gossamer_forums.rb.swp b/.nfs00000000000b6da800000003 similarity index 100% rename from .gossamer_forums.rb.swp rename to .nfs00000000000b6da800000003 diff --git a/gossamer_forums.rb b/gossamer_forums.rb index dda599d..391c20d 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -38,7 +38,7 @@ class GossamerForumsImporter < ImportScripts::Base username: 'admin', password: "x0YGLA9252iiTFQuqaM0ROX8FmQzZuUu", host: '172.99.0.10', - pool: 32, # Adjust based on concurrency needs + pool: 24, # Adjust based on concurrency needs timeout: 5000 ) @@ -1127,11 +1127,11 @@ class GossamerForumsImporter < ImportScripts::Base # Use CachedThreadPool for dynamic thread management #### pool = Concurrent::CachedThreadPool.new ###### pool = Concurrent::FixedThreadPool.new(7) - pool = Concurrent::FixedThreadPool.new(32) + pool = Concurrent::FixedThreadPool.new(24) # Define the connection pool inside the method ###### mariadb_pool = ConnectionPool.new(size: 14, timeout: 100) do - mariadb_pool = ConnectionPool.new(size: 32, timeout: 100) do + mariadb_pool = ConnectionPool.new(size: 24, timeout: 100) do # host: "slowtwitch.northend.network", # username: "admin", # password: "yxnh93Ybbz2Nm8#mp28zCVv",