Skip to content

Possible to pass options to db connection - allowing for ssl support in replicaSet - #70

Open
EmentoDev wants to merge 17 commits into
afloyd:masterfrom
EmentoDev:master
Open

Possible to pass options to db connection - allowing for ssl support in replicaSet#70
EmentoDev wants to merge 17 commits into
afloyd:masterfrom
EmentoDev:master

Conversation

@EmentoDev

Copy link
Copy Markdown

Example configfile:

{
connectionString: "",
options = {
ssl: true,
sslCA: ca,
sslCert: certKey,
sslKey: certKey,
};
}

Options will be parsed to Mongo.connection(url, options, cb)

EmentoDev added 3 commits February 14, 2018 13:15
…ort with replicaSet

{
    connectionString: "",
    options = {
                ssl: true,
                sslCA: ca,
                sslCert: certKey,
                sslKey: certKey,
            };
}
now possible to pass options to db connection - allowing for ssl support with replicaSet

@nbcraft nbcraft left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In need of this as well to up the timeouts with connectTimeoutMS and socketTimeoutMS.
Code looks good imho.

@nbcraft

nbcraft commented May 6, 2020

Copy link
Copy Markdown

Should not merge now with those package.json changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants