MCPcopy Index your code
hub / github.com/parse-community/parse-server / getQueueCount

Function getQueueCount

spec/RedisCacheAdapter.spec.js:120–122  ·  view source on GitHub ↗
(cache)

Source from the content-addressed store, hash-verified

118
119 // total number of queued keys
120 function getQueueCount(cache) {
121 return Object.keys(cache.queue.queue).length;
122 }
123
124 it('it should clear completed operations from queue', async done => {
125 const cache = new RedisCacheAdapter({ ttl: NaN });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected