Pepguy commited on
Commit
2616dc8
·
verified ·
1 Parent(s): 5542f62

Create redis.conf

Browse files
Files changed (1) hide show
  1. redis.conf +15 -0
redis.conf ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # redis.conf
2
+
3
+ # Snapshotting (RDB) config – saves data at intervals
4
+ save 900 1
5
+ save 300 10
6
+ save 60 10000
7
+
8
+ # Set file to dump RDB data
9
+ dbfilename dump.rdb
10
+ dir /data
11
+
12
+ # Append Only File (AOF) config – logs every write operation
13
+ appendonly yes
14
+ appendfilename "appendonly.aof"
15
+ dir /data