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

Add a connection timeout to lsst.ts.tcpip.Client

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Story Points:
      0
    • Sprint:
      TSSW Sprint - Jun 05 - Jun 19
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      Add a connect_timeout constructor argument to lsst.ts.tcpip.Client with a reasonable (but fairly long, to avoid surprising existing software) default value.

      Also add a sync_close method to BaseClientOrServer, for use by signal handlers.

        Attachments

          Issue Links

            Activity

            Hide
            rowen Russell Owen added a comment -

            Note: I could not figure out how to add a unit test for connect_timeout because I could not figure out how to delay a connection.

            Pull request: https://github.com/lsst-ts/ts_tcpip/pull/29

            Show
            rowen Russell Owen added a comment - Note: I could not figure out how to add a unit test for connect_timeout because I could not figure out how to delay a connection. Pull request: https://github.com/lsst-ts/ts_tcpip/pull/29
            Hide
            rowen Russell Owen added a comment -

            Turns out not to be needed at this time.

            Show
            rowen Russell Owen added a comment - Turns out not to be needed at this time.

              People

              Assignee:
              rowen Russell Owen
              Reporter:
              rowen Russell Owen
              Watchers:
              Russell Owen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.