Skip to content

Commit

Permalink
chore: infra > development > redis.conf 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Dec 11, 2024
1 parent 4826b29 commit b88be4e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions layer-api/infra/development/redis.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Save the DB snapshot every 180 seconds if at least 1 key changes
save 180 1

# Specify the filename for the RDB file
dbfilename dump.rdb

# Directory where the RDB snapshot will be saved
dir /data

# Enable RDB snapshot logging (optional for debugging)
loglevel notice

# Disable AOF (if you want only RDB persistence)
appendonly no

# Compression for RDB files (enabled by default)
rdbcompression yes

# Checksum verification for RDB files (enabled by default)
rdbchecksum yes

0 comments on commit b88be4e

Please sign in to comment.