Class: SidekiqAutoscale::Strategies::BaseScaling
- Inherits:
-
Object
- Object
- SidekiqAutoscale::Strategies::BaseScaling
- Defined in:
- lib/sidekiq_autoscale/strategies/base_scaling.rb
Direct Known Subclasses
DelayScaling, DynamicLatencyScaling, LinearScaling, OldestJobScaling
Instance Method Summary collapse
-
#log_job(_job) ⇒ Object
This strategy doesn’t care about individual job metrics.
- #scaling_direction(_job) ⇒ Object
- #workload_change_needed?(_job) ⇒ Boolean
Instance Method Details
#log_job(_job) ⇒ Object
This strategy doesn’t care about individual job metrics
7 |
# File 'lib/sidekiq_autoscale/strategies/base_scaling.rb', line 7 def log_job(_job); end |
#scaling_direction(_job) ⇒ Object
13 14 15 |
# File 'lib/sidekiq_autoscale/strategies/base_scaling.rb', line 13 def scaling_direction(_job) 0 end |
#workload_change_needed?(_job) ⇒ Boolean
9 10 11 |
# File 'lib/sidekiq_autoscale/strategies/base_scaling.rb', line 9 def workload_change_needed?(_job) false end |