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 =
100

Instance Method Summary collapse

Instance Method Details

#batch_size(opts = options) ⇒ Object



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

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

  batch_mode_size
end