Projektstart
This commit is contained in:
7
backend/node_modules/bullmq/dist/esm/commands/includes/isQueuePaused.lua
generated
vendored
Normal file
7
backend/node_modules/bullmq/dist/esm/commands/includes/isQueuePaused.lua
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
--[[
|
||||
Function to check for the meta.paused key to decide if we are paused or not
|
||||
(since an empty list and !EXISTS are not really the same).
|
||||
]]
|
||||
local function isQueuePaused(queueMetaKey)
|
||||
return rcall("HEXISTS", queueMetaKey, "paused") == 1
|
||||
end
|
||||
Reference in New Issue
Block a user