bullmq 5.8.1 → 5.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +0,0 @@
1
- const content = `--[[
2
- Get counts per provided states
3
- Input:
4
- KEYS[1] wait key
5
- KEYS[2] prioritized key
6
- ARGV[1...] priorities
7
- ]]
8
- local rcall = redis.call
9
- local results = {}
10
- local waitKey = KEYS[1]
11
- local prioritizedKey = KEYS[2]
12
- for i = 1, #ARGV do
13
- local priority = tonumber(ARGV[i])
14
- if priority == 0 then
15
- results[#results+1] = rcall("LLEN", waitKey)
16
- else
17
- results[#results+1] = rcall("ZCOUNT", prioritizedKey,
18
- priority * 0x100000000, (priority + 1) * 0x100000000 - 1)
19
- end
20
- end
21
- return results
22
- `;
23
- export const getCountsPerPriority = {
24
- name: 'getCountsPerPriority',
25
- content,
26
- keys: 2,
27
- };
28
- //# sourceMappingURL=getCountsPerPriority-2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCountsPerPriority-2.js","sourceRoot":"","sources":["../../../src/scripts/getCountsPerPriority-2.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;CAqBf,CAAC;AACF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,sBAAsB;IAC5B,OAAO;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}