Commit b5ad3b91 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Define more parameters for MongoDB configuration backend (#984)

parent fca652b7
......@@ -28,7 +28,7 @@ sub Lemonldap::NG::Common::Conf::_mongoDB {
return $self->{_mongoDB} if ( $self->{_mongoDB} );
my $conn_args = {};
foreach my $w (
qw(host auth_mechanism auth_mechanism_properties connect_timeout_ms db_name port ssl username password replica_set_name)
qw(host auth_mechanism auth_mechanism_properties bson_codec connect_timeout_ms db_name heartbeat_frequency_ms j local_threshold_ms max_time_ms password port read_pref_mode read_pref_tag_sets replica_set_name server_selection_timeout_ms server_selection_try_once socket_check_interval_ms socket_timeout_ms ssl username w wtimeout read_concern_level)
)
{
$conn_args->{$w} = $self->{$w} if ( defined $self->{$w} );
......
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