From b02e73ca084dfd113c9236f34d1952988a51b0cf Mon Sep 17 00:00:00 2001 From: Johno Crawford Date: Wed, 3 May 2017 16:39:19 +0200 Subject: [PATCH 1/2] Correct maxmemory setting. maxheap works for Windows but fails for OSX, maxmemory works for both. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9587d293..53099797 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ RedisServer redisServer = RedisServer.builder() .slaveOf("locahost", 6378) .setting("daemonize no") .setting("appendonly no") - .setting("maxheap 128M") + .setting("maxmemory 128M") .build(); ``` From 4776155fdb8d42d98a9cfa14db2b83addbeebebb Mon Sep 17 00:00:00 2001 From: Johno Crawford Date: Wed, 3 May 2017 16:53:18 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 53099797..b106b510 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ Or even create simple redis.conf file from scratch: RedisServer redisServer = RedisServer.builder() .redisExecProvider(customRedisProvider) .port(6379) + .setting("bind 127.0.0.1") // good for local development on Windows to prevent security popups .slaveOf("locahost", 6378) .setting("daemonize no") .setting("appendonly no")