Module: Eco::API::Session::Batch::Launcher::ModeSize

Includes:
Options
Included in:
Eco::API::Session::Batch::Launcher
Defined in:
lib/eco/api/session/batch/launcher/mode_size.rb

Constant Summary collapse

DEFAULT_BATCH_SIZE =
50
DEFAULT_JOB_SIZE =
500
MIN_JOB_SIZE =
50

Instance Method Summary collapse

Instance Method Details

#batch_size(opts = options) ⇒ Object



13
14
15
16
17
# File 'lib/eco/api/session/batch/launcher/mode_size.rb', line 13

def batch_size(opts = options)
  return job_mode_size if job_mode?(opts)

  batch_mode_size
end