Skip to content

Commit

Permalink
Remove dev comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishforbes committed Mar 11, 2015
1 parent 671d690 commit c7b3b23
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions lib/resty/qless-web.lua
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,6 @@ function route_funcs.worker(self, matches)
end
worker.stalled = stalled

--[[
worker: client.workers[params[:worker] ].tap do |w|
w['jobs'] = w['jobs'].map { |j| client.jobs[j] }
w['stalled'] = w['stalled'].map { |j| client.jobs[j] }
w['name'] = params[:worker]
end
]]--

local vars = {
title = "Worker | " .. (workerid or ""),
worker = worker
Expand Down Expand Up @@ -273,12 +265,6 @@ function route_funcs.failed(self, matches)
end
end

--[[
vars.failed = {
{ type = 'failed type', jobs = 'array of job objects', total = 'count of job objects' },
{ type = 'failed type', jobs = 'array of job objects', total = 'count of job objects' },
}
--]]
return render_view(self, "failed.tpl", vars)
end
end
Expand Down Expand Up @@ -699,5 +685,3 @@ end


return _M


0 comments on commit c7b3b23

Please sign in to comment.