Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep track of instances being provisioned; use this count when determining total/AMI instance caps #25

Merged
merged 1 commit into from Feb 7, 2013

Commits on Oct 10, 2012

  1. - add a new mechanism to help count the total number of EC2 instances…

    … for a particular AMI. As an EC2Slave
    
    is being provisioned, a temporary count is placed in a HashMap, which is used in addition to the
    count reported by Amazon itself for a particular ami.   This is so that the count of total
    nodes provisioned takes into account those which Amazon doesn't report yet.  The count returned
    may be too high, if amazon reports it in addition to the "provision" count, but better to err on the
    side of not spawning a node too soon; it will get spawned on the next go-around.
    Tries to fix [JENKINS-6691].
    zzzeek committed Oct 10, 2012
    Copy the full SHA
    8d0a9fa View commit details
    Browse the repository at this point in the history