Can't increase ValueThreshold

What version of Go are you using (go version)?

$ go version

1.18

What operating system are you using?

macos

What version of Badger are you using?

v3.2103.2

Does this issue reproduce with the latest master?

yes

Steps to Reproduce the issue

  • Open a new db
  • Try to write > 1mb to value

Code I use to open db

badgerdb.DefaultOptions("").WithInMemory(true).WithValueThreshold(5242880)