Sha256: c0b7debac569478ca64a78d499be2bc8e67d6a83399c45c0dc86f950acf9775d
Contents?: true
Size: 620 Bytes
Versions: 8
Compression:
Stored size: 620 Bytes
Contents
module Larva class Daemon def self.start(*args) daemon = new(*args) daemon.configure daemon.start daemon end # Allowed Options: # :env - Defaults to development # :meducation_sdk_secret_key - Defauls to looking in config file def initialize(processors, options = {}) @processors = processors @options = options end def start Filum.logger.info "Starting Workerpool" Larva::WorkerPool.start(@processors) Filum.logger.info "Workerpool Finished" end def configure Configurator.configure(@options) end end end
Version data entries
8 entries across 8 versions & 1 rubygems