Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 326 Bytes
class FeedWorker
include FrenzyBunnies::Worker
from_queue 'new.feeds', :prefetch => 20, :threads => 13, :durable => true
def work(msg)
puts msg
ack!
end
end
class FeedDownloader
include FrenzyBunnies::Worker
from_queue 'new.downloads', :durable => true
def work(msg)
puts msg
ack!
end
end