v0.42.1 Rewrite and simplication of concurrent-ruby support
This commit is contained in:
parent
f90d0fb6ae
commit
678012f76a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user