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 e101390 commit 5805f71Copy full SHA for 5805f71
README.md
@@ -103,6 +103,7 @@ spring-boot3及以上
103
spring:
104
datasource:
105
dynamic:
106
+ enabled: true #启用动态数据源,默认true
107
primary: master #设置默认的数据源或者数据源组,默认值即为master
108
strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
109
grace-destroy: false #是否优雅关闭数据源,默认为false,设置为true时,关闭数据源时如果数据源中还存在活跃连接,至多等待10s后强制关闭
0 commit comments