airbnb/synapse — pull request #67 by schleyfox (2014-05-07 03:50:17+00:00)
Title: Fix bug with sub-watcher initialization

`@watcher` is not guaranteed to exist for the Dns watcher until after start is called. Calling start inside of the ZookeeperDns thread created a race condition where `.ping?` might be called prior to the start of the Dns watcher.

/cc @jtai