File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
api-boot-samples/api-boot-sample-mongo-client-settings Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2929 <dependency >
3030 <groupId >org.minbox.framework</groupId >
3131 <artifactId >api-boot-dependencies</artifactId >
32+ <version >${api-boot.version} </version >
3233 <scope >import</scope >
3334 <type >pom</type >
34- <version >2.2.7-SNAPSHOT</version >
3535 </dependency >
3636 </dependencies >
3737 </dependencyManagement >
Original file line number Diff line number Diff line change 55api :
66 boot :
77 mongo :
8+ # ApiBoot Mongo提供的扩展参数
89 settings :
910 connection-pool :
1011 max-size : 200
1920 heartbeat-frequency-milli-seconds : 20000
2021 cluster :
2122 local-threshold-milli-seconds : 20
22- required-cluster-type : unknown
2323 server-selection-timeout-milli-seconds : 50000
24- required-replica-set-name : xxx
2524 mode : single
25+ required-cluster-type : unknown
26+ required-replica-set-name : xxx
2627 # ssl:
2728 # enabled: true
2829 # invalid-host-name-allowed: true
You can’t perform that action at this time.
0 commit comments