Drivers: What happens if we disable monitoring in the client?

19 views
Skip to first unread message

cloudstrife

unread,
Sep 10, 2015, 7:47:53 AM9/10/15
to mongodb-user
Hello!

Specifically for the ruby driver v2.1.0.rc0, what are the consequences of disablin the monitoring on the client? For ex:

   client = Mongo::Client.new(['localhost:27017'], monitoring: false)

Thanks.

Emily S

unread,
Sep 11, 2015, 3:01:54 PM9/11/15
to mongodb-user
There are no consequences, you just won't have published events for commands sent to the server that can be subscribed to. You can see more information on monitoring here:


Emily
Reply all
Reply to author
Forward
0 new messages