内置redis添加参数
parent
6c0da97e49
commit
a7143b0bf5
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue