Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-508

topology.Server.update leaks time.Tickers

      The update method sets up two tickers, but does not stop them. This causes a memory leak.

      Found while implementing a prometheus blackbox-style probe. I've got a small patch I'll send as a github PR. Below is my probe running without it for a few hours, then with it.

       

            Assignee:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Reporter:
            ranglerud Rikard Anglerud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: