topology.Server.update leaks time.Tickers

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Kristofer Brandow (Inactive)
              Reporter:
              Rikard Anglerud
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: