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:
Maxim Kouprianov 2014-10-23 20:26:28 +04:00
parent 0e717a34de
commit 0c5691ff0e
1 changed files with 1 additions and 1 deletions

View File

@ -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 (