forked from mirror/ledisdb
Increase MaxValueSize for a reasonable value
10MB for a blob is a really tiny size, I'd like to decide myself the size of values I'm going to push. And it seems to me that all blobs smaller than 1GB shouldn't be harmful for the ledis, so just lift up this limit please.
This commit is contained in:
parent
0e717a34de
commit
0c5691ff0e
|
@ -76,7 +76,7 @@ const (
|
||||||
MaxSetMemberSize int = 1024
|
MaxSetMemberSize int = 1024
|
||||||
|
|
||||||
//max value size
|
//max value size
|
||||||
MaxValueSize int = 10 * 1024 * 1024
|
MaxValueSize int = 1024 * 1024 * 1024
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
Loading…
Reference in New Issue