Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Maxime Besson
lemonldap-ng
Commits
b5ad3b91
Commit
b5ad3b91
authored
Mar 30, 2016
by
Clément OUDOT
Browse files
Define more parameters for MongoDB configuration backend (#984)
parent
fca652b7
Changes
1
Show whitespace changes
Inline
Side-by-side
lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/MongoDB.pm
View file @
b5ad3b91
...
...
@@ -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
}
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment