From d4e6d1086fd9004a23b957aba048df41d6afac14 Mon Sep 17 00:00:00 2001 From: gechunlin Date: Thu, 22 Feb 2018 20:57:54 -0600 Subject: [PATCH] Update object.c --- src/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/object.c b/src/object.c index 395ec84d..870bb405 100644 --- a/src/object.c +++ b/src/object.c @@ -111,7 +111,7 @@ robj *createEmbeddedStringObject(const char *ptr, size_t len) { * OBJ_ENCODING_EMBSTR_SIZE_LIMIT, otherwise the RAW encoding is * used. * - * The current limit of 39 is chosen so that the biggest string object + * The current limit of 44 is chosen so that the biggest string object * we allocate as EMBSTR will still fit into the 64 byte arena of jemalloc. */ #define OBJ_ENCODING_EMBSTR_SIZE_LIMIT 44 robj *createStringObject(const char *ptr, size_t len) {