Skip to content

Commit

Permalink
fix(movetofinished): use parent queue for events
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf authored and manast committed May 21, 2021
1 parent c3887d6 commit 1b17b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/moveToFinished-7.lua
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if rcall("EXISTS",jobIdKey) == 1 then -- // Make sure job exists
rcall("RPUSH", parentQueue .. ":paused", parentId)
end

local parentEventStream = parentKey .. ":events"
local parentEventStream = parentQueue .. ":events"
rcall("XADD", parentEventStream, "*", "event", "active", "jobId", parentId, "prev", "waiting-children")
end
end
Expand Down

0 comments on commit 1b17b62

Please sign in to comment.