• Matt Stancliff's avatar
    Auto-enter slaveMode when SYNC from redis-cli · 21648473
    Matt Stancliff authored
    If someone asks for SYNC or PSYNC from redis-cli,
    automatically enter slaveMode (as if they ran
    redis-cli --slave) and continue printing the replication
    stream until either they Ctrl-C or the master gets disconnected.
    21648473
redis-cli.c 52.1 KB