mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
define proper settings in full redis example conf
This commit is contained in:
parent
913d89b53e
commit
35be7d0864
@ -57,7 +57,7 @@ tcp-backlog 511
|
|||||||
# Examples:
|
# Examples:
|
||||||
#
|
#
|
||||||
# bind 192.168.1.100 10.0.0.1
|
# bind 192.168.1.100 10.0.0.1
|
||||||
# bind 127.0.0.1
|
bind 127.0.0.1
|
||||||
|
|
||||||
|
|
||||||
# Specify the path for the Unix socket that will be used to listen for
|
# Specify the path for the Unix socket that will be used to listen for
|
||||||
@ -136,7 +136,7 @@ databases 16
|
|||||||
|
|
||||||
save 900 1
|
save 900 1
|
||||||
save 300 10
|
save 300 10
|
||||||
save 60 10000
|
save 60 1000
|
||||||
|
|
||||||
# By default Redis will stop accepting writes if RDB snapshots are enabled
|
# By default Redis will stop accepting writes if RDB snapshots are enabled
|
||||||
# (at least one save point) and the latest background save failed.
|
# (at least one save point) and the latest background save failed.
|
||||||
@ -383,7 +383,7 @@ slave-priority 100
|
|||||||
# 150k passwords per second against a good box. This means that you should
|
# 150k passwords per second against a good box. This means that you should
|
||||||
# use a very strong password otherwise it will be very easy to break.
|
# use a very strong password otherwise it will be very easy to break.
|
||||||
#
|
#
|
||||||
# requirepass foobared
|
requirepass Changeme9832
|
||||||
|
|
||||||
# Command renaming.
|
# Command renaming.
|
||||||
#
|
#
|
||||||
@ -512,7 +512,7 @@ slave-priority 100
|
|||||||
# Peak Working Set reported by the Windows Task Manager and the used_memory_peak
|
# Peak Working Set reported by the Windows Task Manager and the used_memory_peak
|
||||||
# reported by the INFO command.
|
# reported by the INFO command.
|
||||||
#
|
#
|
||||||
# maxmemory <bytes>
|
maxmemory 1gb
|
||||||
|
|
||||||
# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
|
# MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
|
||||||
# is reached. You can select among five behaviors:
|
# is reached. You can select among five behaviors:
|
||||||
|
Loading…
Reference in New Issue
Block a user