Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
59f9cfb8
Commit
59f9cfb8
authored
Jun 16, 2016
by
Nasko Vasilev
Committed by
Stephane Nicoll
Jun 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use missing MongoClientOptions in MongoProperties
See gh-6176
parent
13403a0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
MongoProperties.java
...ngframework/boot/autoconfigure/mongo/MongoProperties.java
+10
-0
No files found.
spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java
View file @
59f9cfb8
...
@@ -39,6 +39,7 @@ import org.springframework.core.env.Environment;
...
@@ -39,6 +39,7 @@ import org.springframework.core.env.Environment;
* @author Josh Long
* @author Josh Long
* @author Andy Wilkinson
* @author Andy Wilkinson
* @author Eddú Meléndez
* @author Eddú Meléndez
* @author Nasko Vasilev
*/
*/
@ConfigurationProperties
(
prefix
=
"spring.data.mongodb"
)
@ConfigurationProperties
(
prefix
=
"spring.data.mongodb"
)
public
class
MongoProperties
{
public
class
MongoProperties
{
...
@@ -278,6 +279,15 @@ public class MongoProperties {
...
@@ -278,6 +279,15 @@ public class MongoProperties {
builder
.
threadsAllowedToBlockForConnectionMultiplier
(
builder
.
threadsAllowedToBlockForConnectionMultiplier
(
options
.
getThreadsAllowedToBlockForConnectionMultiplier
());
options
.
getThreadsAllowedToBlockForConnectionMultiplier
());
builder
.
writeConcern
(
options
.
getWriteConcern
());
builder
.
writeConcern
(
options
.
getWriteConcern
());
builder
.
minConnectionsPerHost
(
options
.
getMinConnectionsPerHost
());
builder
.
maxConnectionIdleTime
(
options
.
getMaxConnectionIdleTime
());
builder
.
maxConnectionLifeTime
(
options
.
getMaxConnectionLifeTime
());
builder
.
heartbeatFrequency
(
options
.
getHeartbeatFrequency
());
builder
.
minHeartbeatFrequency
(
options
.
getMinHeartbeatFrequency
());
builder
.
heartbeatConnectTimeout
(
options
.
getHeartbeatConnectTimeout
());
builder
.
heartbeatSocketTimeout
(
options
.
getHeartbeatSocketTimeout
());
builder
.
localThreshold
(
options
.
getLocalThreshold
());
builder
.
requiredReplicaSetName
(
options
.
getRequiredReplicaSetName
());
}
}
return
builder
;
return
builder
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment