diff --git a/gossamer_forums.rb b/gossamer_forums.rb index 72e43fd..78c972c 100644 --- a/gossamer_forums.rb +++ b/gossamer_forums.rb @@ -1086,6 +1086,9 @@ class GossamerForumsImporter < ImportScripts::Base ### mutex = Mutex.new # Mutex for MySQL2 operations -- disabled as this may not in fact be necessary - TBD. sqlite_mutex = Mutex.new # Mutex for SQLite opreations + # Use CachedThreadPool for dynamic thread management + pool = Concurrent::CachedThreadPool.new + # Run until all posts have been processed. until is_complete