lib/cloud_crowd/daemon.rb in documentcloud-cloud-crowd-0.0.3 vs lib/cloud_crowd/daemon.rb in documentcloud-cloud-crowd-0.0.4
- old
+ new
@@ -14,10 +14,10 @@
MAX_WAIT = CloudCrowd.config[:max_worker_wait]
WAIT_MULTIPLIER = CloudCrowd.config[:worker_wait_multiplier]
def initialize
@wait_time = MIN_WAIT
- @worker = CloudCrowd::Worker.new
+ @worker = Worker.new
Signal.trap('INT', 'EXIT')
Signal.trap('KILL', 'EXIT')
Signal.trap('TERM', 'EXIT')
end
\ No newline at end of file