Skip to content

Commit ae4a252

Browse files
committed
update
1 parent 3e3e698 commit ae4a252

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

04fx/springboot01/src/main/resources/application.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,15 @@ spring:
1818
enabled: true
1919
max-connections: 10 #连接池最大连接数
2020
idle-timeout: 30000 #空闲的连接过期时间,默认为30秒
21+
22+
23+
2124
data:
2225
mongodb:
2326
uri: mongodb://localhost:27017/mydb
27+
28+
profiles:
29+
active: true
2430

2531
# jms:
2632
# pub-sub-domain: true #默认情况下activemq提供的是queue模式,若要使用topic模式需要配置下面配置

0 commit comments

Comments
 (0)