Module: SidekiqAutoscale

Extended by:
Config::SharedConfigs
Defined in:
lib/sidekiq_autoscale.rb,
lib/sidekiq_autoscale/railtie.rb,
lib/sidekiq_autoscale/version.rb,
lib/sidekiq_autoscale/exception.rb,
lib/sidekiq_autoscale/middleware.rb,
lib/sidekiq_autoscale/sidekiq_interface.rb,
lib/sidekiq_autoscale/adapters/nil_adapter.rb,
lib/sidekiq_autoscale/config/shared_configs.rb,
lib/sidekiq_autoscale/adapters/heroku_adapter.rb,
lib/sidekiq_autoscale/strategies/base_scaling.rb,
lib/sidekiq_autoscale/strategies/delay_scaling.rb,
lib/sidekiq_autoscale/strategies/linear_scaling.rb,
lib/sidekiq_autoscale/adapters/kubernetes_adapter.rb,
lib/sidekiq_autoscale/strategies/oldest_job_scaling.rb,
lib/sidekiq_autoscale/strategies/dynamic_latency_scaling.rb,
lib/generators/sidekiq_autoscale/install/install_generator.rb

Defined Under Namespace

Modules: Config, Strategies Classes: Exception, HerokuAdapter, InstallGenerator, KubernetesAdapter, Middleware, NilAdapter, Railtie, SidekiqInterface

Constant Summary collapse

VERSION =
"0.6.3"

Constants included from Config::SharedConfigs

Config::SharedConfigs::LOG_TAG

Instance Attribute Summary

Attributes included from Config::SharedConfigs

#config

Class Method Summary collapse

Methods included from Config::SharedConfigs

adapter, adapter_config, adapter_klass, cache, lock_manager, lock_time, logger, max_workers, min_scaling_interval, min_workers, on_head_bump, on_scaling_error, on_scaling_event, on_toe_stub, redis_client, scale_by, scale_down_threshold, scale_up_threshold, sidekiq_interface, strategy, strategy_klass

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:



26
27
28
# File 'lib/sidekiq_autoscale.rb', line 26

def configure
  yield config
end