loopbackio / loopbackio/loopback-connector-mongodb
pool connection sizing incorrectly supported
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 186
- Forks
- 238
- Avg merge
- 2h 49m
- Merged PRs (30d)
- 1
Description
According to the documentation (https://www.mongodb.com/docs/drivers/node/v4.6/fundamentals/connection/connection-options/), connection pool configuration is dependent on options maxPoolSize and minPoolSize. The loopback connector only allows a 'poolSize' option to be defined and passed to the client.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting how the LoopBack MongoDB connector handles and passes the poolSize option to the client, then compare that behavior with the linked MongoDB connection-options documentation. Done means the connector supports the documented maxPoolSize and minPoolSize options instead of only poolSize, with tests covering the accepted configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, mongodb
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100