@@ -945,9 +945,10 @@ _do_spawn (const char *path, char **args, bson_error_t *error)
945
945
exit (EXIT_SUCCESS );
946
946
}
947
947
948
- /* If we later decide to change the working directory for the pid file path, possibly change the
949
- * process's working directory with chdir like: `chdir (default_pid_path)`.
950
- * Currently pid file ends up in application's working directory. */
948
+ /* If we later decide to change the working directory for the pid file path,
949
+ * possibly change the process's working directory with chdir like: `chdir
950
+ * (default_pid_path)`. Currently pid file ends up in application's working
951
+ * directory. */
951
952
952
953
/* Set the user file creation mask to zero. */
953
954
umask (0 );
@@ -1155,7 +1156,7 @@ _parse_extra (const bson_t *extra,
1155
1156
}
1156
1157
1157
1158
if (!mongoc_uri_set_option_as_int32 (
1158
- * uri , MONGOC_URI_SERVERSELECTIONTIMEOUTMS , 5000 )) {
1159
+ * uri , MONGOC_URI_SERVERSELECTIONTIMEOUTMS , 10000 )) {
1159
1160
_uri_construction_error (error );
1160
1161
GOTO (fail );
1161
1162
}
@@ -1292,10 +1293,10 @@ _mongoc_cse_client_enable_auto_encryption (mongoc_client_t *client,
1292
1293
client -> topology -> mongocryptd_client -> topology );
1293
1294
1294
1295
/* Also, since single threaded server selection can foreseeably take
1295
- * connectTimeoutMS (which by default is longer than 5 seconds), reduce
1296
+ * connectTimeoutMS (which by default is longer than 10 seconds), reduce
1296
1297
* this as well. */
1297
1298
if (!mongoc_uri_set_option_as_int32 (
1298
- mongocryptd_uri , MONGOC_URI_CONNECTTIMEOUTMS , 5000 )) {
1299
+ mongocryptd_uri , MONGOC_URI_CONNECTTIMEOUTMS , 10000 )) {
1299
1300
_uri_construction_error (error );
1300
1301
GOTO (fail );
1301
1302
}
0 commit comments