lib/trellodon/schedulers/concurrent.rb in trellodon-0.2.1 vs lib/trellodon/schedulers/concurrent.rb in trellodon-0.3.0
- old
+ new
@@ -6,10 +6,10 @@
module Trellodon
module Schedulers
class Concurrent < Base
using RubyNext
- DEFAULT_MAX_THREADS = 50
+ DEFAULT_MAX_THREADS = 4
attr_reader :max_threads
def initialize(threads_count = DEFAULT_MAX_THREADS)
@max_threads = threads_count