Class: Temporalio::Worker::Tuner::ResourceBasedSlotOptions

Inherits:
Struct
  • Object
show all
Defined in:
lib/temporalio/worker/tuner.rb

Overview

Options for a specific slot type being used with SlotSupplier::ResourceBased.

Instance Attribute Summary collapse

Instance Attribute Details

#max_slotsInteger?



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_slotsInteger?



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_throttleFloat?



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
)