diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2015-10-28 12:16:16 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2015-10-28 12:16:16 -0600 |
commit | 1786b6ae2ff6304ee29303520ca27ba5068604a4 (patch) | |
tree | 6f4916d8338bbac18056df2ae0b7b2e287e2927e | |
parent | Merge branch 'hvnsweeting-hvn-fix-doc' (diff) | |
download | dedo-1786b6ae2ff6304ee29303520ca27ba5068604a4.tar.gz dedo-1786b6ae2ff6304ee29303520ca27ba5068604a4.tar.xz |
lower MaxValue to 2GB
This commit changes the maximum value size to 2GB so that tests can
run on 32-bit machines. There's really no reason to write a 2GB+
value to Bolt. It's not terribly efficient for large values.
-rw-r--r-- | bucket.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ const ( MaxKeySize = 32768 // MaxValueSize is the maximum length of a value, in bytes. - MaxValueSize = 4294967295 + MaxValueSize = (1 << 31) - 2 ) const ( |