Class: KomachiHeartbeat::StatsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/komachi_heartbeat/stats_controller.rb

Instance Method Summary collapse

Instance Method Details

#workerObject



5
6
7
8
# File 'app/controllers/komachi_heartbeat/stats_controller.rb', line 5

def worker
  return head :not_found unless worker_stats_enabled?
  render json: worker_stats
end