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

Clair v4 goroutine leak when requesting POST index_report

XMLWordPrintable

      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` 

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

                Created:
                Updated:
                Resolved: