lib/zold/node/async_entrance.rb in zold-0.13.44 vs lib/zold/node/async_entrance.rb in zold-0.13.45
- old
+ new
@@ -37,11 +37,11 @@
end
def start
@entrance.start do
@pool = Concurrent::FixedThreadPool.new(
- Concurrent.processor_count,
- max_queue: Concurrent.processor_count * 10,
+ Concurrent.processor_count * 8,
+ max_queue: Concurrent.processor_count * 32,
fallback_policy: :abort
)
begin
yield(self)
ensure