Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-197

Add time.sleep(wait_period) to _ssh_client_connect()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compute
    • Labels:
      None

      Description

      In the event that the client cannot connect, it will run in a tight loop, needlessly using CPU cycles until it finally connects or times out.

      This patch puts a wait period in the loop, similar to what is done in _wait_until_running(). It also exposes a wait_period parameter in the function arguments.

        Attachments

          Activity

            People

            • Assignee:
              kami Tomaz Muraus
              Reporter:
              jaydoane Jay Doane
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: