Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-1113

How to disable monitoring thread?

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 12_01_17
    • Affects Version/s: 2.2.5
    • Component/s: Public API
    • None

      Hi,
      My code is using some threads and in order to test that I need to wait until all threads finished, but the monitoring's thread never finish or takes long time to finish.

      So I'm trying to disable the monitoring using

      Mongo::Client.new([ '127.0.0.1:27017' ], :database => 'test', :monitoring => false)
      

      but it always create a sleeping monitoring thread.

      there is a way to disable the monitoring thread?

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            kuadrosx Jorge Cuadrado
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: