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

docs(faq): remove faq ipv6 #9004

Merged
merged 2 commits into from
May 15, 2020

Conversation

AbdelrahmanHafez
Copy link
Collaborator

@AbdelrahmanHafez AbdelrahmanHafez commented May 15, 2020

We added this question due to #6566

This is fixed in the driver somewhere along the way, and we don't need to manually use family: 4 anymore.

const mongoose = require('mongoose');

run().catch(console.error);

async function run() {
  const before = Date.now();
  await mongoose.connect('mongodb://localhost:27017/test');
  console.log(`Connected in: ${Date.now() - before}ms.`);
}

Output:

Connected in: 22ms.

Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

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

Great, thanks 👍

@vkarpov15 vkarpov15 added this to the 5.9.15 milestone May 15, 2020
@vkarpov15 vkarpov15 merged commit 33b4fd4 into Automattic:master May 15, 2020
@AbdelrahmanHafez
Copy link
Collaborator Author

Happy to help 👍

@AbdelrahmanHafez AbdelrahmanHafez deleted the remove-faq-ipv6 branch May 16, 2020 02:46
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.

None yet

2 participants