Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-34900

In ts_tcpip work around the issue that wait_close can hang on stream writers

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      0
    • Sprint:
      TSSW Sprint - May 23 - Jun 06
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      StreamWriter.wait_closed can hang indefinitely. This has apparently been fixed in Python 3.11 (though the ticket is primarily focused on SSL, so we will see). Meanwhile, update ts_tcpip close_stream_writer to limit how long it waits for a socket to close.

        Attachments

          Issue Links

            Activity

            Hide
            rowen Russell Owen added a comment -
            Show
            rowen Russell Owen added a comment - Pull request: https://github.com/lsst-ts/ts_tcpip/pull/15
            Hide
            wvreeven Wouter van Reeven added a comment -

            Reviewed on GitHub.

            Show
            wvreeven Wouter van Reeven added a comment - Reviewed on GitHub.
            Hide
            rowen Russell Owen added a comment -

            Merged to develop. Release awaits the pyproject.toml work.

            Show
            rowen Russell Owen added a comment - Merged to develop. Release awaits the pyproject.toml work.

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              rowen Russell Owen
              Reviewers:
              Wouter van Reeven
              Watchers:
              Russell Owen, Wouter van Reeven
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.