capistrano/capistrano — pull request #332 by jpfuentes2 (2012-12-18 17:15:31+00:00)
Title: Fix shell bug causing CPU 100%

The SSH sessions loop is trying to IO.select and wait for 0.1 seconds,
but the select is often never reached because it only enters if
readers/writers exist. So the loop executes unchecked at 100% when
waiting for commands. Now we will sleep for 0.1 seconds if we have
no waiting IO.