#!/usr/bin/env ruby
######################################################
# A small script to push some messages to the channel
# when testing the redis-q daemon
######################################################

require 'bundler'
Bundler.setup

require 'beanstalk-client'

queue = Beanstalk::Pool.new(['localhost:11300'])

2000.times do |x|
  queue.put(:event => 'hello', :data => x)
end
