relax threshold

This commit is contained in:
debing.sun 2025-05-13 09:38:06 +08:00
parent f15613d9b4
commit 119b2828c7
1 changed files with 2 additions and 2 deletions

View File

@ -523,7 +523,7 @@ run_solo {defrag} {
r config set activedefrag no
wait_for_defrag_stop 500 100
r config resetstat
r config set active-defrag-threshold-lower 5
r config set active-defrag-threshold-lower 8
r config set active-defrag-cycle-min 65
r config set active-defrag-cycle-max 75
r config set active-defrag-ignore-bytes 1500kb
@ -592,7 +592,7 @@ run_solo {defrag} {
}
# wait for the active defrag to stop working
wait_for_defrag_stop 500 100 1.1
wait_for_defrag_stop 500 100 1.08
# test the fragmentation is lower
after 120 ;# serverCron only updates the info once in 100ms