We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5751197 commit e5f7ffbCopy full SHA for e5f7ffb
src/main/java/org/example/gridgestagram/config/RedisConfig.java
@@ -25,16 +25,16 @@
25
@Slf4j
26
public class RedisConfig {
27
28
- @Value("${spring.redis.host:localhost}")
+ @Value("${spring.redis.host}")
29
private String host;
30
31
- @Value("${spring.redis.port:6379}")
+ @Value("${spring.redis.port}")
32
private int port;
33
34
- @Value("${spring.redis.timeout:3000}")
+ @Value("${spring.redis.timeout}")
35
private int timeout;
36
37
- @Value("${spring.redis.password:}")
+ @Value("${spring.redis.password}")
38
private String password;
39
40
@Bean
0 commit comments