mirror of
https://github.com/fluencelabs/redis
synced 2025-05-02 14:02:14 +00:00
parent
fc9bce45c5
commit
6b64fa49f8
@ -1885,7 +1885,7 @@ void alsoPropagate(struct redisCommand *cmd, int dbid, robj **argv, int argc,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* It is possible to call the function forceCommandPropagation() inside a
|
/* It is possible to call the function forceCommandPropagation() inside a
|
||||||
* Redis command implementaiton in order to to force the propagation of a
|
* Redis command implementation in order to to force the propagation of a
|
||||||
* specific command execution into AOF / Replication. */
|
* specific command execution into AOF / Replication. */
|
||||||
void forceCommandPropagation(redisClient *c, int flags) {
|
void forceCommandPropagation(redisClient *c, int flags) {
|
||||||
if (flags & REDIS_PROPAGATE_REPL) c->flags |= REDIS_FORCE_REPL;
|
if (flags & REDIS_PROPAGATE_REPL) c->flags |= REDIS_FORCE_REPL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user