Uploaded image for project: 'edge-patron'
  1. edge-patron
  2. EDGPATRON-21

edge-patron is leaking HttpClient Objects

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
    • Development Team:
      Prokopovych

      Description

      We do not close the HttpClient created in the OkapiClient. We could either cache the per tenant OkapiClient created by the PatronOkapiClientFactory so that only one client is created per tenant or we could close the PatronOkapiClient in the PatronHandler.handleCommon().

      Since keepAlive is set to false in OkapiClient, connection pooling will not be used anyway, so closing the connection in handleCommon is probably the simplest, but least performant, fix.

        TestRail: Results

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              mreno Mathew Reno
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  TestRail: Runs

                    TestRail: Cases