mirror of https://mirror.osredm.com/root/redis.git
relax threshold
This commit is contained in:
parent
f15613d9b4
commit
119b2828c7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue