File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
driver-core/src/main/com/mongodb/internal/capi Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,14 +88,14 @@ public static MongoClientSettings createMongocryptdClientSettings(final String c
88
88
.applyToClusterSettings (new Block <ClusterSettings .Builder >() {
89
89
@ Override
90
90
public void apply (final ClusterSettings .Builder builder ) {
91
- builder .serverSelectionTimeout (1 , TimeUnit .SECONDS );
91
+ builder .serverSelectionTimeout (10 , TimeUnit .SECONDS );
92
92
}
93
93
})
94
94
.applyToSocketSettings (new Block <SocketSettings .Builder >() {
95
95
@ Override
96
96
public void apply (final SocketSettings .Builder builder ) {
97
- builder .readTimeout (1 , TimeUnit .SECONDS );
98
- builder .connectTimeout (1 , TimeUnit .SECONDS );
97
+ builder .readTimeout (10 , TimeUnit .SECONDS );
98
+ builder .connectTimeout (10 , TimeUnit .SECONDS );
99
99
}
100
100
})
101
101
.applyConnectionString (new ConnectionString ((connectionString != null )
You can’t perform that action at this time.
0 commit comments