ADD Readme, Refactor EmbeddedRedis
- 로컬 환경에서 테스트용 EmbeddedRedis 가 생성되지 않아 설정변경 1. EmbeddedRedis maxheap size를 1gb로 고정 2. 테스트 환경에서 포트번호가 충돌하지 않도록 포트번호 변경(6379->16379)
This commit is contained in:
@@ -1,2 +1,8 @@
|
||||
# YouAndMe
|
||||
지역 사람들과 공감할 수 있는 지도 기반 블로깅 서비스
|
||||

|
||||
|
||||
/
|
||||
## ✨프로젝트 구조
|
||||
(2021.11.01 수정)
|
||||

|
||||
|
||||
@@ -21,7 +21,10 @@ public class EmbeddedRedisConfiguration {
|
||||
|
||||
@PostConstruct
|
||||
public void redisServer() throws IOException {
|
||||
redisServer = new RedisServer(redisPort);
|
||||
redisServer = RedisServer.builder()
|
||||
.port(redisPort)
|
||||
.setting("maxheap 1gb")
|
||||
.build();
|
||||
redisServer.start();
|
||||
}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ spring:
|
||||
redis:
|
||||
host: localhost
|
||||
password:
|
||||
port: 6379
|
||||
port: 16379
|
||||
|
||||
app:
|
||||
mail:
|
||||
|
||||
Reference in New Issue
Block a user