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

How to disable monitoring thread?

    XMLWordPrintable

    Details

    • Type: Question
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Works as Designed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 12_01_17
    • Component/s: Public API
    • Labels:
      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

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

              Dates

              Created:
              Updated:
              Resolved: