Module: Jober::QueueBatchFeature::ClassMethods
- Defined in:
- lib/jober/queue_batch.rb
Instance Method Summary collapse
Instance Method Details
#batch_size(bs) ⇒ Object
8 9 10 |
# File 'lib/jober/queue_batch.rb', line 8 def batch_size(bs) @batch_size = bs end |
#get_batch_size ⇒ Object
12 13 14 |
# File 'lib/jober/queue_batch.rb', line 12 def get_batch_size @batch_size ||= 100 end |