Projektstart
This commit is contained in:
13
backend/node_modules/bullmq/dist/cjs/commands/includes/updateParentDepsIfNeeded.lua
generated
vendored
Normal file
13
backend/node_modules/bullmq/dist/cjs/commands/includes/updateParentDepsIfNeeded.lua
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
--[[
|
||||
Validate and move or add dependencies to parent.
|
||||
]]
|
||||
|
||||
-- Includes
|
||||
--- @include "moveParentToWaitIfNoPendingDependencies"
|
||||
|
||||
local function updateParentDepsIfNeeded(parentKey, parentQueueKey, parentDependenciesKey,
|
||||
parentId, jobIdKey, returnvalue, timestamp )
|
||||
local processedSet = parentKey .. ":processed"
|
||||
rcall("HSET", processedSet, jobIdKey, returnvalue)
|
||||
moveParentToWaitIfNoPendingDependencies(parentQueueKey, parentDependenciesKey, parentKey, parentId, timestamp)
|
||||
end
|
||||
Reference in New Issue
Block a user