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

How to disable monitoring thread?

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Trivial - P5
    • Resolution: Works as Designed
    • 2.2.5
    • 12_01_17
    • Public API
    • None

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: