anchor.diff:  # By default the priority is 100.
   slave-priority 100
   
  +<%- if (version_c <=> [2,8,0]) >= 0 -%>
  +# It is possible for a master to stop accepting writes if there are less than
  +# N slaves connected, having a lag less or equal than M seconds.
  +#
  +# The N slaves need to be in "online" state.
  +#
  +# The lag in seconds, that must be <= the specified value, is calculated from
  +# the last ping received from the slave, that is usually sent every second.
  +#
  +# This option does not GUARANTEE that N replicas will accept the write, but
  +# will limit the window of exposure for lost writes in case not enough slaves
  +# are available, to the specified number of seconds.
  +#
  +# For example to require at least 3 slaves with a lag <= 10 seconds use:
  +#
  +# min-slaves-to-write 3
  +# min-slaves-max-lag 10
  +#
  +# Setting one or the other to 0 disables the feature.
  +#
  +# By default min-slaves-to-write is set to 0 (feature disabled) and
  +# min-slaves-max-lag is set to 10.
  +<%- end -%>
  +
   ################################## SECURITY ###################################
   
   # Require clients to issue AUTH <PASSWORD> before processing any other
  
positive.code: # If port 0 is specified Redis will not listen on a TCP socket.
  port <%= @redis_port %>
  
  # If you want you can bind a single interface, if the bind option is not
  # specified all the interfaces will listen for incoming connections.
  #
  # bind 127.0.0.1
  <% if @redis_bind_address %>
  bind <%= @redis_bind_address %>
  <% end %>
  
  # Specify the path for the unix socket that will be used to listen for
  # incoming connections. There is no default, so Redis will not listen
  # on a unix socket when not specified.
  #
  # unixsocket /tmp/redis.sock
  # unixsocketperm 755
  
  # Close the connection after a client is idle for N seconds (0 to disable)
  timeout <%= @redis_timeout %>
  
negative.code: #
  # The limit can be set differently for the three different classes of clients:
  #
  # normal -> normal clients including MONITOR clients
  # slave  -> slave clients
  # pubsub -> clients subscribed to at least one pubsub channel or pattern
  #
  # The syntax of every client-output-buffer-limit directive is the following:
  #
  