MCPcopy Create free account
hub / github.com/F-Stack/f-stack / brpoplpushCommand

Function brpoplpushCommand

app/redis-6.2.6/src/t_list.c:1027–1032  ·  view source on GitHub ↗

BRPOPLPUSH */

Source from the content-addressed store, hash-verified

1025
1026/* BRPOPLPUSH <source> <destination> <timeout> */
1027void brpoplpushCommand(client *c) {
1028 mstime_t timeout;
1029 if (getTimeoutFromObjectOrReply(c,c->argv[3],&timeout,UNIT_SECONDS)
1030 != C_OK) return;
1031 blmoveGenericCommand(c, LIST_TAIL, LIST_HEAD, timeout);
1032}

Callers

nothing calls this directly

Calls 2

blmoveGenericCommandFunction · 0.85

Tested by

no test coverage detected