Commit d9aff4f5 by jinfeng.wang

fix

parent 6fa953b3
......@@ -30,7 +30,6 @@ public class GetPackageFromMongo {
.retryWrites(true)
.applyToConnectionPoolSettings(builder ->
builder.maxConnectionIdleTime(6000, TimeUnit.MILLISECONDS))
.applyToSslSettings(builder -> builder.enabled(true))
.applyToClusterSettings(builder -> {
builder.hosts(Arrays.asList(new ServerAddress(mongoUrl, 27017)));
}).build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment