Skip to content

Conversation

rphv
Copy link
Contributor

@rphv rphv commented Jul 26, 2014

If the default write concern isn't set, mongo shows the warning message "Please ensure that you set the default write concern for the database..."

@peterhellberg
Copy link
Member

MongoDB uses w: 1 as the default write concern.

Strange that the JavaScript library would warn about it not being set.

peterhellberg added a commit that referenced this pull request Jul 26, 2014
Set the default write concern on mongo.Db client
@peterhellberg peterhellberg merged commit 2d58250 into coffeescript-cookbook:master Jul 26, 2014
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.

2 participants