Skip to content

Feature/reconnect#295

Open
ClintHaerinck wants to merge 3 commits intoAutomattic:masterfrom
ClintHaerinck:feature/reconnect
Open

Feature/reconnect#295
ClintHaerinck wants to merge 3 commits intoAutomattic:masterfrom
ClintHaerinck:feature/reconnect

Conversation

@ClintHaerinck
Copy link
Copy Markdown
Contributor

Some code to reconnect when 'useUnifiedTopology': false.

When 'useUnifiedTopology': true, this should be built-in

@whyisjake

This comment has been minimized.

1 similar comment
@whyisjake

This comment has been minimized.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 10, 2020

Codecov Report

❌ Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.92%. Comparing base (6fe6dd4) to head (4dd9966).
⚠️ Report is 42 commits behind head on master.

Files with missing lines Patch % Lines
lib/manager.js 40.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #295      +/-   ##
==========================================
- Coverage   94.87%   93.92%   -0.95%     
==========================================
  Files           6        6              
  Lines         390      395       +5     
==========================================
+ Hits          370      371       +1     
- Misses         20       24       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Collaborator

@mathieudutour mathieudutour left a comment

Choose a reason for hiding this comment

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

That sounds sensible. Could you add some docs and tests for it?

* @return {Promise}
*/

Manager.prototype.reconnect = function () {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

could you add an fn argument to be consistent with the open method?

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