jenkinsci/jenkins — pull request #362 by recampbell (2012-01-27 17:13:24+00:00)
Title: Prevent Jenkins from over provisioning when there is only one slave, which is still connecting.

The needsSomeWhenNoneAtAll ought to take into account nodes which are coming online, especially when a cloud returns slaves which are not connected. This is fixed by adding the idleSnapshot, which takes connecting slaves into account (totalSnapshot does not).