How to disable monitoring thread?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Trivial - P5
    • 12_01_17
    • Affects Version/s: 2.2.5
    • Component/s: Public API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
            Reporter:
            Jorge Cuadrado
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: