Class: Aranha::Rails::Process
- Inherits:
-
Object
- Object
- Aranha::Rails::Process
- Defined in:
- lib/aranha/rails/process.rb
Constant Summary collapse
- QUEUE =
'aranha'
- QUEUES =
[QUEUE].freeze
Instance Method Summary collapse
Instance Method Details
#limit ⇒ Object
22 23 24 |
# File 'lib/aranha/rails/process.rb', line 22 def limit [OPTION_LIMIT].if_present(-1, &:to_i) end |
#run ⇒ Object
16 17 18 19 20 |
# File 'lib/aranha/rails/process.rb', line 16 def run run_init run_jobs_workoff run_close end |