mirror of
https://github.com/brendan-ch/project-inter-server.git
synced 2026-04-17 07:50:31 +00:00
add redis configuration with AOF
This commit is contained in:
28
redis.conf
Normal file
28
redis.conf
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# See https://raw.githubusercontent.com/redis/redis/unstable/redis.conf
|
||||||
|
# for a full example
|
||||||
|
|
||||||
|
############################## APPEND ONLY MODE ###############################
|
||||||
|
|
||||||
|
# By default Redis asynchronously dumps the dataset on disk. This mode is
|
||||||
|
# good enough in many applications, but an issue with the Redis process or
|
||||||
|
# a power outage may result into a few minutes of writes lost (depending on
|
||||||
|
# the configured save points).
|
||||||
|
#
|
||||||
|
# The Append Only File is an alternative persistence mode that provides
|
||||||
|
# much better durability. For instance using the default data fsync policy
|
||||||
|
# (see later in the config file) Redis can lose just one second of writes in a
|
||||||
|
# dramatic event like a server power outage, or a single write if something
|
||||||
|
# wrong with the Redis process itself happens, but the operating system is
|
||||||
|
# still running correctly.
|
||||||
|
#
|
||||||
|
# AOF and RDB persistence can be enabled at the same time without problems.
|
||||||
|
# If the AOF is enabled on startup Redis will load the AOF, that is the file
|
||||||
|
# with the better durability guarantees.
|
||||||
|
#
|
||||||
|
# Note that changing this value in a config file of an existing database and
|
||||||
|
# restarting the server can lead to data loss. A conversion needs to be done
|
||||||
|
# by setting it via CONFIG command on a live server first.
|
||||||
|
#
|
||||||
|
# Please check https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/ for more information.
|
||||||
|
|
||||||
|
appendonly no
|
||||||
Reference in New Issue
Block a user