Skip to content

Commit d3a56ff

Browse files
committed
Extended parameter list
1 parent 9c52af3 commit d3a56ff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

api-boot-samples/api-boot-sample-mongo-client-settings/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
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>

api-boot-samples/api-boot-sample-mongo-client-settings/src/main/resources/application.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ spring:
55
api:
66
boot:
77
mongo:
8+
# ApiBoot Mongo提供的扩展参数
89
settings:
910
connection-pool:
1011
max-size: 200
@@ -19,10 +20,10 @@ api:
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

0 commit comments

Comments
 (0)