Sha256: 8423f633392e84f1070dee0007a241be666ff1de3485cd70354790175ec06a84
Contents?: true
Size: 532 Bytes
Versions: 3
Compression:
Stored size: 532 Bytes
Contents
class RegularWorker include Sidekiq::Worker def perform(foo) end end class BatchedSizeWorker include Sidekiq::Worker sidekiq_options queue: :batched_size, batch_size: 3 def perform(foo) end end class BatchedIntervalWorker include Sidekiq::Worker sidekiq_options queue: :batched_interval, batch_flush_interval: 3600 def perform(foo) end end class BatchedBothWorker include Sidekiq::Worker sidekiq_options queue: :batched_both, batch_flush_interval: 3600, batch_size: 3 def perform(foo) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sidekiq-batching-0.0.3 | spec/support/test_workers.rb |
sidekiq-batching-0.0.2 | spec/support/test_workers.rb |
sidekiq-batching-0.0.1 | spec/support/test_workers.rb |