more work done for diskstore without trying to compile, more work needed to build again.

This commit is contained in:
antirez
2010-12-30 16:41:36 +01:00
parent 1609a1c42d
commit 4ab988238f
7 changed files with 105 additions and 23 deletions

View File

@ -769,7 +769,7 @@ void initServerConfig() {
server.maxmemory_policy = REDIS_MAXMEMORY_VOLATILE_LRU;
server.maxmemory_samples = 3;
server.ds_enabled = 0;
server.ds_path = zstrdup("/tmp/redis.ds");
server.ds_path = sdsnew("/tmp/redis.ds");
server.cache_max_memory = 64LL*1024*1024; /* 64 MB of RAM */
server.cache_blocked_clients = 0;
server.hash_max_zipmap_entries = REDIS_HASH_MAX_ZIPMAP_ENTRIES;