Skip to content

Commit b57e66f

Browse files
committed
Add deprecated metadata for Redis pool
See gh-10076
1 parent b2950b5 commit b57e66f

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -876,6 +876,46 @@
876876
"level": "error"
877877
}
878878
},
879+
{
880+
"name": "spring.redis.pool.max-active",
881+
"type": "java.lang.Integer",
882+
"description": "Max number of connections that can be allocated by the pool at a given time.\n Use a negative value for no limit.",
883+
"defaultValue": 8,
884+
"deprecation": {
885+
"replacement": "spring.redis.jedis.pool.max-idle",
886+
"level": "error"
887+
}
888+
},
889+
{
890+
"name": "spring.redis.pool.max-idle",
891+
"type": "java.lang.Integer",
892+
"description": "Max number of \"idle\" connections in the pool. Use a negative value to indicate\n an unlimited number of idle connections.",
893+
"defaultValue": 8,
894+
"deprecation": {
895+
"replacement": "spring.redis.jedis.pool.max-idle",
896+
"level": "error"
897+
}
898+
},
899+
{
900+
"name": "spring.redis.pool.max-wait",
901+
"type": "java.lang.Integer",
902+
"description": "Maximum amount of time (in milliseconds) a connection allocation should block\n before throwing an exception when the pool is exhausted. Use a negative value\n to block indefinitely.",
903+
"defaultValue": -1,
904+
"deprecation": {
905+
"replacement": "spring.redis.jedis.pool.max-wait",
906+
"level": "error"
907+
}
908+
},
909+
{
910+
"name": "spring.redis.pool.min-idle",
911+
"type": "java.lang.Integer",
912+
"description": "Target for the minimum number of idle connections to maintain in the pool. This\n setting only has an effect if it is positive.",
913+
"defaultValue": 0,
914+
"deprecation": {
915+
"replacement": "spring.redis.jedis.pool.min-idle",
916+
"level": "error"
917+
}
918+
},
879919
{
880920
"name": "spring.session.jdbc.initializer.enabled",
881921
"type": "java.lang.Boolean",

0 commit comments

Comments
 (0)