From 10ae67588bd9479eb5ef47258ccad50aec3368d1 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 7 May 2013 23:34:58 +0200 Subject: [PATCH] Reduced debug message. --- app/models/scheduler.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/models/scheduler.rb b/app/models/scheduler.rb index 82b5d4775..0d90bfe0e 100644 --- a/app/models/scheduler.rb +++ b/app/models/scheduler.rb @@ -52,11 +52,10 @@ class Scheduler < ApplicationModel end 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.pid = Thread.current.object_id job.save - puts "execute #{job.method} (worker #{worker} of #{worker_count})..." eval job.method() end end \ No newline at end of file