Sha256: 79de9d2f0e4833cc14de7d1f6cb6ec2e23b278d25cfe03cbd2cb9f2cad07a1e0

Contents?: true

Size: 351 Bytes

Versions: 26

Compression:

Stored size: 351 Bytes

Contents

module Writefully
  class NewsAgency < Celluloid::SupervisionGroup
    pool      Tools::Pigeon,          as: :pigeons,     size: ((Writefully.options[:concurrency] * 4) rescue 2)
    pool      Workers::Journalist,    as: :journalists, size: (Writefully.options[:concurrency] rescue 2)
    
    supervise Workers::Handyman,      as: :handyman
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
writefully-0.4.5 lib/writefully/news_agency.rb
writefully-0.4.4 lib/writefully/news_agency.rb
writefully-0.4.2 lib/writefully/news_agency.rb
writefully-0.4.1 lib/writefully/news_agency.rb
writefully-0.4.0 lib/writefully/news_agency.rb
writefully-0.3.6 lib/writefully/news_agency.rb