Reduced debug message.

This commit is contained in:
Martin Edenhofer 2013-05-07 23:34:58 +02:00
parent d91d5e3bce
commit 10ae67588b

View file

@ -52,11 +52,10 @@ class Scheduler < ApplicationModel
end end
def self._start_job( job, worker, worker_count ) def self._start_job( job, worker, worker_count )
puts "execute #{job.method}..." puts "execute #{job.method} (worker #{worker} of #{worker_count})..."
job.last_run = Time.now job.last_run = Time.now
job.pid = Thread.current.object_id job.pid = Thread.current.object_id
job.save job.save
puts "execute #{job.method} (worker #{worker} of #{worker_count})..."
eval job.method() eval job.method()
end end
end end