lib/rest-ftp-daemon/api/status.rb in rest-ftp-daemon-0.202.2 vs lib/rest-ftp-daemon/api/status.rb in rest-ftp-daemon-0.210.0
- old
+ new
@@ -15,13 +15,12 @@
config: Helpers.get_censored_config,
started: APP_STARTED,
uptime: (Time.now - APP_STARTED).round(1),
counters: $queue.counters,
status: $queue.counts_by_status,
- vars: $pool.worker_vars,
- jobs_count: $queue.all_size,
- jobs_queued: $queue.queued.collect(&:id),
- jobs_popped: $queue.popped.collect(&:id),
+ workers: $pool.worker_variables,
+ jobs_count: $queue.jobs_count,
+ jobs_queued: $queue.queued_ids
#routes: RestFtpDaemon::API::Root::routes,
}
end
end