Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-2158

Clair v4 goroutine leak when requesting POST index_report

    XMLWordPrintable

Details

    • 0

    Description

      I noticed during some metrics work that the number of goroutines was increasing, this lined up with the number of requests made to `POST /index_report`. 

       

      It looks like it is coming from the `pgxpool.ConnectConfig()`, specifically from `claircore/libindex/controllerfactory.go:controllerFactory`.

      Acceptance:

      • Goroutines should stay stable after requests to `POST index_report` 

      Attachments

        Activity

          People

            jcroslan@redhat.com Joseph Crosland
            jcroslan@redhat.com Joseph Crosland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: