Complete the code to set Redis to save the DB every 900 seconds if at least 1 key changed.
save [1] 1
The save directive uses seconds and number of changes. Here, 900 seconds means 15 minutes.
Complete the code to save the DB every 300 seconds if at least 10 keys changed.
save [1] 10
The first number is the time in seconds, here 300 seconds means 5 minutes.
Fix the error in the save configuration to save every 60 seconds if 100 keys changed.
save [1] 100
The first number must be the time in seconds, so 60 means 1 minute.
Fill both blanks to save every 1800 seconds if at least 5 keys changed.
save [1] [2]
The first number is the time in seconds (1800 = 30 minutes), the second is the minimum keys changed (5).
Fill all three blanks to configure Redis to save every 900 seconds if 1 key changed, every 300 seconds if 10 keys changed, and every 60 seconds if 100 keys changed.
save [1] 1 save [2] 10 save [3] 100
The save intervals are 900 seconds for 1 key, 300 seconds for 10 keys, and 60 seconds for 100 keys.