-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: infra > development > redis.conf 추가
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |