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 @@ -75,14 +75,14 @@ public static MongoClientSettings createMongocryptdClientSettings(final String c
75
75
.applyToClusterSettings (new Block <ClusterSettings .Builder >() {
76
76
@ Override
77
77
public void apply (final ClusterSettings .Builder builder ) {
78
- builder .serverSelectionTimeout (1 , TimeUnit .SECONDS );
78
+ builder .serverSelectionTimeout (10 , TimeUnit .SECONDS );
79
79
}
80
80
})
81
81
.applyToSocketSettings (new Block <SocketSettings .Builder >() {
82
82
@ Override
83
83
public void apply (final SocketSettings .Builder builder ) {
84
- builder .readTimeout (1 , TimeUnit .SECONDS );
85
- builder .connectTimeout (1 , TimeUnit .SECONDS );
84
+ builder .readTimeout (10 , TimeUnit .SECONDS );
85
+ builder .connectTimeout (10 , TimeUnit .SECONDS );
86
86
}
87
87
})
88
88
.applyConnectionString (new ConnectionString ((connectionString != null )
You can’t perform that action at this time.
0 commit comments