lib/rest-ftp-daemon/workers/reporter.rb in rest-ftp-daemon-0.306.4 vs lib/rest-ftp-daemon/workers/reporter.rb in rest-ftp-daemon-0.400.0
- old
+ new
@@ -12,11 +12,9 @@
# Other configuration options
@report_newrelic = Conf.newrelic_enabled?
# Check that everything is OK
return "invalid timer" unless @config[:timer].to_i > 0
- # return "invalid WorkerPool" unless $pool.is_a? RestFtpDaemon::WorkerPool
- # return "invalid JobQueue" unless $queue.is_a? RestFtpDaemon::JobQueue
return false
end
def worker_after
# Sleep for a few seconds