Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions queue.lua
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,8 @@ function QlessQueue:pop(now, worker, count)
-- queue itself and the priorities therein
table.extend(jids, self.work.peek(count - #jids))

local state
for index, jid in ipairs(jids) do
local job = Qless.job(jid)
state = unpack(job:data('state'))
job:history(now, 'popped', {worker = worker})

-- Update the wait time statistics
Expand Down