Skip to content

Commit 7942897

Browse files
committed
fix: 기본값제거
1 parent e5f7ffb commit 7942897

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/org/example/gridgestagram/config/RedisConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
@Slf4j
2626
public class RedisConfig {
2727

28-
@Value("${spring.redis.host}")
28+
@Value("${spring.data.redis.host}")
2929
private String host;
3030

31-
@Value("${spring.redis.port}")
31+
@Value("${spring.data.redis.port}")
3232
private int port;
3333

3434
@Value("${spring.redis.timeout}")

src/main/resources/application-prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ spring:
4848
redis:
4949
host: ${SPRING_DATA_REDIS_HOST}
5050
port: ${SPRING_DATA_REDIS_PORT}
51+
timeout: 60000
52+
password: ${SPRING_DATA_REDIS_PASSWORD}
5153

5254
cloud:
5355
aws:

0 commit comments

Comments
 (0)