typegoose / typegoose/mongodb-memory-server
Refactor to not search for a binary so often
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 191
- Avg merge
- 4h 25m
- Merged PRs (30d)
- 10
Description
I have noticed behavior that the binary is searched for multiple times before starting, which should be avoided and cached / passed-through
also, as a side note i also think i saw that somewhere a inconsistent version may be fetched, see https://github.com/nodkz/mongodb-memory-server/issues/617#issuecomment-1071224054
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
No file or test is named. Trace the binary-search path used before startup, then compare it with the inconsistent-version concern in issue #617; done means the binary is searched once, reused or passed through, and the selected version remains consistent.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mongodb, typescript
- Domain
- performance, testing-qa, tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100