From 8e6edb2d3f6ad6c1b12fc30417fc72e07d30a1c3 Mon Sep 17 00:00:00 2001 From: saint Date: Sat, 17 Aug 2024 23:51:42 +1000 Subject: [PATCH] v0.42.1 Rewrite and simplication of concurrent-ruby support --- gossamer_forums.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gossamer_forums.rb b/gossamer_forums.rb index acce3b6..837d564 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1087,7 +1087,8 @@ class GossamerForumsImporter < ImportScripts::Base sqlite_mutex = Mutex.new # Mutex for SQLite opreations # Use CachedThreadPool for dynamic thread management - pool = Concurrent::CachedThreadPool.new +#### pool = Concurrent::CachedThreadPool.new + pool = Concurrent::FixedThreadPool.new(11) # Run until all posts have been processed. until is_complete