class ActiveHook::Server::Config

Constants

OTHER_DEFAULTS

Attributes

queue_threads[RW]
retry_threads[RW]
workers[RW]

Public Class Methods

new() click to toggle source
Calls superclass method ActiveHook::BaseConfig::new
# File lib/activehook/server/config.rb, line 12
def initialize
  super
  OTHER_DEFAULTS.each { |key, value| send("#{key}=", value) }
end

Public Instance Methods

manager_options() click to toggle source
# File lib/activehook/server/config.rb, line 24
def manager_options
  {
    workers: workers,
    options: worker_options
  }
end
worker_options() click to toggle source
# File lib/activehook/server/config.rb, line 17
def worker_options
  {
    queue_threads: queue_threads,
    retry_threads: retry_threads
  }
end