Uploaded image for project: 'OpenShift API Server'
  1. OpenShift API Server
  2. API-1653

Avoid using regexps in library-go's pkg/apiserver/apiserverconfig/longrunning.go

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • False
    • None
    • False

      IsLongRunningRequest filters out imagestream imports and binary buildconfig instantiations. Currently it has regexps to find these requests. However, running MatchString against every request is costly, so we should find a better way to skip those requests.
      Seems it was created in 3.x time, so in 4.x we should match APIPrefix/APIGroup and Subresource/Parts

            vrutkovs@redhat.com Vadim Rutkovsky
            vrutkovs@redhat.com Vadim Rutkovsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: