Skip to content

Commit

Permalink
reset hash-max-listpack-value config value
Browse files Browse the repository at this point in the history
Signed-off-by: jonghoonpark <dev@jonghoonpark.com>
  • Loading branch information
dev-jonghoonpark committed Apr 15, 2024
1 parent 901efc6 commit ae2f23c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/unit/type/hash.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ start_server {tags {"hash"}} {
} {1 0 1 0}

test {Is a ziplist encoded Hash promoted on big payload?} {
r config set hash-max-listpack-value 64
r hset smallhash foo [string repeat a 1024]
r debug object smallhash
} {*hashtable*} {needs:debug}
Expand Down

0 comments on commit ae2f23c

Please sign in to comment.