lib/job.rb in ncr-background_fu-1.0.4 vs lib/job.rb in ncr-background_fu-1.0.5
- old
+ new
@@ -18,10 +18,13 @@
job = create!(
:worker_class => worker_class.to_s,
:worker_method => worker_method.to_s,
:args => args
)
+
logger.info("BackgroundFu: Job enqueued. Job(id: #{job.id}, worker: #{worker_class}, method: #{worker_method}, argc: #{args.size}).")
+
+ job
end
# Invoked by a background daemon.
def get_done!
initialize_worker