Class: Aranha::Rails::Process

Inherits:
Object
  • Object
show all
Defined in:
lib/aranha/rails/process.rb

Constant Summary collapse

QUEUE =
'aranha'
QUEUES =
[QUEUE].freeze

Instance Method Summary collapse

Instance Method Details

#limitObject



22
23
24
# File 'lib/aranha/rails/process.rb', line 22

def limit
  options[OPTION_LIMIT].if_present(-1, &:to_i)
end

#runObject



16
17
18
19
20
# File 'lib/aranha/rails/process.rb', line 16

def run
  run_init
  run_jobs_workoff
  run_close
end