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

Dynamically calculate concurrent request capacity based on GOMAXPROCS

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • clair-4.4.0
    • None
    • clair
    • Product / Portfolio Work
    • False
    • False
    • Undefined

      https://github.com/quay/clair/pull/1320 this PR introduced the concept of limiting the number of concurrent requests that Clair is handling. Right now a user can either turn it off or set a number, it would be nice to introduce a 3rd option where the user can specify a value that tells Clair to dynamically calculate the number based on GOMAXPROCS (and possibly other values).

      Possible config example:
      < 0 == no limit
      0 == dynamically assigned limit
      > 0 == a user specified number of concurrent requests

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

                Created:
                Updated:
                Resolved: