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

Dynamically calculate concurrent request capacity based on GOMAXPROCS

    XMLWordPrintable

Details

    • Feature
    • Resolution: Done
    • Major
    • clair-4.4.0
    • None
    • clair
    • False
    • False
    • 0
    • 0% 0%
    • Undefined
    • 0

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: