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
8888 .applyToClusterSettings (new Block <ClusterSettings .Builder >() {
8989 @ Override
9090 public void apply (final ClusterSettings .Builder builder ) {
91- builder .serverSelectionTimeout (1 , TimeUnit .SECONDS );
91+ builder .serverSelectionTimeout (10 , TimeUnit .SECONDS );
9292 }
9393 })
9494 .applyToSocketSettings (new Block <SocketSettings .Builder >() {
9595 @ Override
9696 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 );
9999 }
100100 })
101101 .applyConnectionString (new ConnectionString ((connectionString != null )
You can’t perform that action at this time.
0 commit comments