Skip to content

Commit a8bf3b4

Browse files
committed
Configuration file modifed to allow YCSB.
1 parent bdf3894 commit a8bf3b4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

redis.conf

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
# IF YOU ARE SURE YOU WANT YOUR INSTANCE TO LISTEN TO ALL THE INTERFACES
5959
# JUST COMMENT THE FOLLOWING LINE.
6060
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61-
bind 127.0.0.1
6261

6362
# Protected mode is a layer of security protection, in order to avoid that
6463
# Redis instances left open on the internet are accessed and exploited.
@@ -77,7 +76,7 @@ bind 127.0.0.1
7776
# you are sure you want clients from other hosts to connect to Redis
7877
# even if no authentication is configured, nor a specific set of interfaces
7978
# are explicitly listed using the "bind" directive.
80-
protected-mode yes
79+
protected-mode no
8180

8281
# Accept connections on the specified port, default is 6379 (IANA #815344).
8382
# If port 0 is specified Redis will not listen on a TCP socket.
@@ -199,6 +198,7 @@ databases 16
199198
#
200199
# save ""
201200

201+
save ""
202202
save 900 1
203203
save 300 10
204204
save 60 10000
@@ -590,7 +590,8 @@ slave-priority 100
590590
#
591591
# Please check http://redis.io/topics/persistence for more information.
592592

593-
appendonly no
593+
# appendonly no
594+
appendonly yes
594595

595596
# The name of the append only file (default: "appendonly.aof")
596597

@@ -619,8 +620,8 @@ appendfilename "appendonly.aof"
619620
#
620621
# If unsure, use "everysec".
621622

622-
# appendfsync always
623-
appendfsync everysec
623+
appendfsync always
624+
# appendfsync everysec
624625
# appendfsync no
625626

626627
# When the AOF fsync policy is set to always or everysec, and a background

0 commit comments

Comments
 (0)