Module: Gouda::BulkAdapterExtension
- Included in:
- Adapter
- Defined in:
- lib/gouda/bulk.rb
Instance Method Summary collapse
Instance Method Details
#enqueue_all(active_jobs) ⇒ Object
46 47 48 49 50 51 52 53 |
# File 'lib/gouda/bulk.rb', line 46 def enqueue_all(active_jobs) if Thread.current[:gouda_bulk_buffer] Thread.current[:gouda_bulk_buffer].append(*active_jobs) active_jobs else super end end |