X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/ed329fcf25bb1c41949678eec125034326f86af2..f2923becc6cb11dc5cd979ad72a32d1801560df4:/redis.conf diff --git a/redis.conf b/redis.conf index 3727efd5..38592b02 100644 --- a/redis.conf +++ b/redis.conf @@ -34,6 +34,9 @@ save 900 1 save 300 10 save 60 10000 +# The filename where to dump the DB +dbfilename dump.rdb + # For default save/load DB in/from the working directory # Note that you must specify a directory not a file name. dir ./ @@ -50,7 +53,9 @@ loglevel debug # output for logging but daemonize, logs will be sent to /dev/null logfile stdout -# Set the number of databases. +# Set the number of databases. The default database is DB 0, you can select +# a different one on a per-connection basis using SELECT where +# dbid is a number between 0 and 'databases'-1 databases 16 ################################# REPLICATION ################################# @@ -62,9 +67,26 @@ databases 16 # slaveof +################################## SECURITY ################################### + +# Require clients to issue AUTH before processing any other +# commands. This might be useful in environments in which you do not trust +# others with access to the host running redis-server. +# +# This should stay commented out for backward compatibility and because most +# people do not need auth (e.g. they run their own servers). + +# requirepass foobared + ############################### ADVANCED CONFIG ############################### # Glue small output buffers together in order to send small replies in a # single TCP packet. Uses a bit more CPU but most of the times it is a win # in terms of number of queries per second. Use 'yes' if unsure. glueoutputbuf yes + +# Use object sharing. Can save a lot of memory if you have many common +# string in your dataset, but performs lookups against the shared objects +# pool so it uses more CPU and can be a bit slower. Usually it's a good +# idea. +shareobjects no