Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-23293

jsocket connect_timeout should avoid calling pre_connect in a tight loop (and consequently avoid logging very rapidly)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.8.0
    • Component/s: JLib
    • Labels:
      None

      Description

      connect_timeout will keep callnig pre_connect in a tight loop until the timeout period has expired.
      pre_connect logs the failure, which means that if the failure is quick, it will generate huge amounts of logging very quickly as a result.

      I think connect_timeout should ensure that there is a minimum time period between calls to pre_connect.

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: