mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Simple change just using slaves instead of server.slaves
This commit is contained in:
parent
6e866ee05e
commit
ca6fc4f031
@ -244,7 +244,7 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Write the command to every slave. */
|
/* Write the command to every slave. */
|
||||||
listRewind(server.slaves,&li);
|
listRewind(slaves,&li);
|
||||||
while((ln = listNext(&li))) {
|
while((ln = listNext(&li))) {
|
||||||
client *slave = ln->value;
|
client *slave = ln->value;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user