From 0c5691ff0e885584511b4abc52c6587955f7bb8a Mon Sep 17 00:00:00 2001 From: Maxim Kouprianov Date: Thu, 23 Oct 2014 20:26:28 +0400 Subject: [PATCH] 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. --- ledis/const.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledis/const.go b/ledis/const.go index 3e17a95..5c208ab 100644 --- a/ledis/const.go +++ b/ledis/const.go @@ -76,7 +76,7 @@ const ( MaxSetMemberSize int = 1024 //max value size - MaxValueSize int = 10 * 1024 * 1024 + MaxValueSize int = 1024 * 1024 * 1024 ) var (