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

Add time.sleep(wait_period) to _ssh_client_connect()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Compute
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: