内置redis添加参数

V0.5.x
xiwa 2022-06-14 17:35:10 +08:00
parent 6c0da97e49
commit a7143b0bf5
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ public class EmbeddedRedisConfig {
} }
public static void startEmbeddedRedisServer() { public static void startEmbeddedRedisServer() {
RedisServer redisServer = RedisServer.builder().setting("maxheap 200m").build() RedisServer redisServer = RedisServer.builder().setting("maxheap 200m").build();
redisServer.start(); redisServer.start();
} }