lib/buildbox/client.rb in buildbox-0.0.3 vs lib/buildbox/client.rb in buildbox-0.0.4
- old
+ new
@@ -16,10 +16,10 @@
daemonize if @options[:daemon]
pid_file.save
loop do
reload_configuration
- Buildbox::Queue.new.process
+ Buildbox::Worker.new.process
wait_for_interval
end
rescue => e
Buildbox.logger.error "#{e.class.name}: #{e.message}"
e.backtrace.each { |line| Buildbox.logger.error line }