Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppTag
Project
Overview
Details
Activity
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
dataplatform
AppTag
Commits
51a9364c
Commit
51a9364c
authored
5 years ago
by
jinfeng.wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d9aff4f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
GetPackageFromMongo.java
...n/java/com/mobvista/apptag/utils/GetPackageFromMongo.java
+5
-1
No files found.
src/main/java/com/mobvista/apptag/utils/GetPackageFromMongo.java
View file @
51a9364c
...
...
@@ -29,7 +29,11 @@ public class GetPackageFromMongo {
MongoClientSettings
settings
=
MongoClientSettings
.
builder
()
.
retryWrites
(
true
)
.
applyToConnectionPoolSettings
(
builder
->
builder
.
maxConnectionIdleTime
(
6000
,
TimeUnit
.
MILLISECONDS
))
builder
.
maxConnectionIdleTime
(
3000
,
TimeUnit
.
MILLISECONDS
))
.
applyToConnectionPoolSettings
(
builder
->
builder
.
maxSize
(
100
))
.
applyToConnectionPoolSettings
(
builder
->
builder
.
minSize
(
10
))
.
applyToClusterSettings
(
builder
->
{
builder
.
hosts
(
Arrays
.
asList
(
new
ServerAddress
(
mongoUrl
,
27017
)));
}).
build
();
...
...
This diff is collapsed.
Click to expand it.
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