MCPcopy Create free account
hub / github.com/antirez/disque / enqueueGenericCommand

Function enqueueGenericCommand

src/queue.c:854–868  ·  view source on GitHub ↗

ENQUEUE job-id-1 job-id-2 ... job-id-N * NACK job-id-1 job-id-2 ... job-id-N * * If the job is active, queue it if job retry != 0. * If the job is in any other state, do nothing. * If the job is not known, do nothing. * * NOTE: Even jobs with retry set to 0 are enqueued! Be aware that * using this command may violate the at-most-once contract. * * Return the number of jobs actually move

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

enqueueCommandFunction · 0.85
nackCommandFunction · 0.85

Calls 4

validateJobIDsFunction · 0.85
lookupJobFunction · 0.85
enqueueJobFunction · 0.85
addReplyLongLongFunction · 0.85

Tested by

no test coverage detected