X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/626f6b2d644b2458184edf9318f24ce95ba83532..d4d3a70da2c9be4c5aa67a0be735568dbe436568:/src/redis.c diff --git a/src/redis.c b/src/redis.c index 1cc8cc75..3d0f5378 100644 --- a/src/redis.c +++ b/src/redis.c @@ -191,7 +191,8 @@ struct redisCommand redisCommandTable[] = { {"cluster",clusterCommand,-2,0,NULL,0,0,0,0,0}, {"restore",restoreCommand,4,0,NULL,0,0,0,0,0}, {"migrate",migrateCommand,6,0,NULL,0,0,0,0,0}, - {"dump",dumpCommand,2,0,NULL,0,0,0,0,0} + {"dump",dumpCommand,2,0,NULL,0,0,0,0,0}, + {"object",objectCommand,-2,0,NULL,0,0,0,0,0} }; /*============================ Utility functions ============================ */ @@ -839,6 +840,8 @@ void initServerConfig() { server.list_max_ziplist_entries = REDIS_LIST_MAX_ZIPLIST_ENTRIES; server.list_max_ziplist_value = REDIS_LIST_MAX_ZIPLIST_VALUE; server.set_max_intset_entries = REDIS_SET_MAX_INTSET_ENTRIES; + server.zset_max_ziplist_entries = REDIS_ZSET_MAX_ZIPLIST_ENTRIES; + server.zset_max_ziplist_value = REDIS_ZSET_MAX_ZIPLIST_VALUE; server.shutdown_asap = 0; server.cache_flush_delay = 0; server.cluster_enabled = 0;