Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation inaccurate for connection #5864

Closed
niftylettuce opened this issue Dec 1, 2017 · 3 comments
Closed

Documentation inaccurate for connection #5864

niftylettuce opened this issue Dec 1, 2017 · 3 comments
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Milestone

Comments

@niftylettuce
Copy link
Contributor

At http://mongoosejs.com/docs/connections.html the docs are inaccurate.

As an example, I believe the latest MongoDB driver has reconnectInterval instead of reconnectWait and reconnectTries instead of retries.

@niftylettuce
Copy link
Contributor Author

the server/replset/mongos options are deprecated, all their options are supported at the top level of the options object [poolSize,ssl,sslValidate,sslCA,sslCert,sslKey,sslPass,sslCRL,autoReconnect,noDelay,keepAlive,connectTimeoutMS,family,socketTimeoutMS,reconnectTries,reconnectInterval,ha,haInterval,replicaSet,secondaryAcceptableLatencyMS,acceptableLatencyMS,connectWithNoPrimary,authSource,w,wtimeout,j,forceServerObjectId,serializeFunctions,ignoreUndefined,raw,bufferMaxEntries,readPreference,pkFactory,promiseLibrary,readConcern,maxStalenessSeconds,loggerLevel,logger,promoteValues,promoteBuffers,promoteLongs,domainsEnabled,keepAliveInitialDelay,checkServerIdentity,validateOptions,appname,auth]

@niftylettuce
Copy link
Contributor Author

mongo --version:

MongoDB shell version v3.4.10
git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
OpenSSL version: OpenSSL 1.0.2m  2 Nov 2017
allocator: system
modules: none
build environment:
    distarch: x86_64
    target_arch: x86_64

@niftylettuce
Copy link
Contributor Author

Mongoose v4.13.5+

@sobafuchs sobafuchs added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Dec 5, 2017
@sobafuchs sobafuchs added this to the 4.13.7 milestone Dec 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This issue is due to a mistake or omission in the mongoosejs.com documentation
Projects
None yet
Development

No branches or pull requests

2 participants