Use bulk operation instead.
Use bulk operation instead.

The bulk operation should be faster and more performant than doing the db.find.update

Docs here: http://docs.mongodb.org/v2.6/reference/method/Bulk.find.update/
edx-solutions/cs_comments_service,edx/cs_comments_service,edx/cs_comments_service,miptliot/cs_comments_service,rue89-tech/cs_comments_service,Unow/cs_comments_service,edx-solutions/cs_comments_service,EDUlib/cs_comments_service,EDUlib/cs_comments_service,miptliot/cs_comments_service,edx-solutions/cs_comments_service,rue89-tech/cs_comments_service,rue89-tech/cs_comments_service,miptliot/cs_comments_service,Stanford-Online/cs_comments_service,EDUlib/cs_comments_service,Unow/cs_comments_service,Unow/cs_comments_service,Stanford-Online/cs_comments_service,edx/cs_comments_service,Stanford-Online/cs_comments_service