lib/temporal/worker.rb
# activity_thread_pool_size: number of threads that the poller can use to run activities.
#   can be set to 1 if you want no paralellism in your activities, at the cost of throughput.
number of threads that the poller can use to run activities.
can be set to 1 if you want no paralellism in your activities, at the cost of throughput.
number of threads that the poller can use to run activities . can be set to 1 if you want no paralellism in your activities at the cost of throughput .
def register_activity(activity_class, options = {})
      execution_options = ExecutionOptions.new(activity_class, options, config.default_execution_options)
      key = [execution_options.namespace, execution_options.task_queue]
      @activities[key].add(execution_options.name, activity_class)
    end
def register_activity ( activity_class , options = { } ) execution_options = ExecutionOptions . new ( activity_class , options , config . default_execution_options ) key = [ execution_options . namespace , execution_options . task_queue ] @activities [ key ] . add ( execution_options . name , activity_class ) end
activity_thread_pool_size: number of threads that the poller can use to run activities.
activity_thread_pool_size : number of threads that the poller can use to run activities .
activity_class
options