Class: Temporalio::Worker::Tuner::ResourceBasedSlotOptions
- Inherits:
-
Struct
- Object
- Struct
- Temporalio::Worker::Tuner::ResourceBasedSlotOptions
- Defined in:
- lib/temporalio/worker/tuner.rb
Overview
Options for a specific slot type being used with SlotSupplier::ResourceBased.
Instance Attribute Summary collapse
-
#max_slots ⇒ Integer?
Maximum amount of slots permitted.
-
#min_slots ⇒ Integer?
Amount of slots that will be issued regardless of any other checks.
-
#ramp_throttle ⇒ Float?
Minimum time we will wait (after passing the minimum slots number) between handing out new slots in seconds.
Instance Attribute Details
#max_slots ⇒ Integer?
97 98 99 100 101 102 |
# File 'lib/temporalio/worker/tuner.rb', line 97 ResourceBasedSlotOptions = Struct.new( :min_slots, :max_slots, :ramp_throttle, keyword_init: true ) |
#min_slots ⇒ Integer?
97 98 99 100 101 102 |
# File 'lib/temporalio/worker/tuner.rb', line 97 ResourceBasedSlotOptions = Struct.new( :min_slots, :max_slots, :ramp_throttle, keyword_init: true ) |
#ramp_throttle ⇒ Float?
97 98 99 100 101 102 |
# File 'lib/temporalio/worker/tuner.rb', line 97 ResourceBasedSlotOptions = Struct.new( :min_slots, :max_slots, :ramp_throttle, keyword_init: true ) |