Module: Shoryuken

Extended by:
SingleForwardable
Defined in:
lib/shoryuken.rb,
lib/shoryuken/util.rb,
lib/shoryuken/queue.rb,
lib/shoryuken/client.rb,
lib/shoryuken/runner.rb,
lib/shoryuken/worker.rb,
lib/shoryuken/fetcher.rb,
lib/shoryuken/logging.rb,
lib/shoryuken/manager.rb,
lib/shoryuken/message.rb,
lib/shoryuken/options.rb,
lib/shoryuken/version.rb,
lib/shoryuken/core_ext.rb,
lib/shoryuken/launcher.rb,
lib/shoryuken/processor.rb,
lib/shoryuken/body_parser.rb,
lib/shoryuken/polling/base.rb,
lib/shoryuken/worker_registry.rb,
lib/shoryuken/middleware/chain.rb,
lib/shoryuken/environment_loader.rb,
lib/shoryuken/worker/inline_executor.rb,
lib/shoryuken/default_worker_registry.rb,
lib/shoryuken/polling/strict_priority.rb,
lib/shoryuken/worker/default_executor.rb,
lib/shoryuken/middleware/server/timing.rb,
lib/shoryuken/polling/weighted_round_robin.rb,
lib/shoryuken/middleware/server/auto_delete.rb,
lib/shoryuken/middleware/server/active_record.rb,
lib/shoryuken/extensions/active_job_extensions.rb,
lib/shoryuken/middleware/server/auto_extend_visibility.rb,
lib/shoryuken/middleware/server/exponential_backoff_retry.rb

Defined Under Namespace

Modules: ActiveJobExtensions, HashExt, Logging, Middleware, Polling, StringExt, Util, Worker Classes: BodyParser, Client, DefaultWorkerRegistry, EnvironmentLoader, Fetcher, Launcher, Manager, Message, Options, Processor, Queue, Runner, Shutdown, WorkerRegistry

Constant Summary collapse

VERSION =
'6.0.0'.freeze

Class Method Summary collapse

Class Method Details

.healthy?Boolean

Returns:

  • (Boolean)


48
49
50
# File 'lib/shoryuken.rb', line 48

def self.healthy?
  Shoryuken::Runner.instance.healthy?
end

.shoryuken_optionsObject



44
45
46
# File 'lib/shoryuken.rb', line 44

def self.shoryuken_options
  @_shoryuken_options ||= Shoryuken::Options.new
end