ewhauser/zookeeper — pull request #22 by ninjarobot (2014-06-20 20:13:38+00:00)
Title: Replace SpinWait with Thread.Sleep(200).  Similar effect, but less CPU i...

...ntensive.

The current implementation uses SpinWait and this eats up CPU cycles unnecessarily. I'm proposing replacing this simply with a Thread.Sleep. There is a minimal change to the logic in this case.