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

edge-patron is leaking HttpClient Objects

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Won't Do
    • None
    • None
    • None
    • 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

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mreno Mathew Reno
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases