MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / streamRewriteApproxSpecifier

Function streamRewriteApproxSpecifier

src/t_stream.cpp:1766–1768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1764}
1765
1766void streamRewriteApproxSpecifier(client *c, int idx) {
1767 rewriteClientCommandArgument(c,idx,shared.special_equals);
1768}
1769
1770/* We propagate MAXLEN/MINID ~ <count> as MAXLEN/MINID = <resulting-len-of-stream>
1771 * otherwise trimming is no longer deterministic on replicas / AOF. */

Callers 2

xaddCommandFunction · 0.85
xtrimCommandFunction · 0.85

Calls 1

Tested by

no test coverage detected