dbellettini/php-eventstore-client — pull request #9 by jimpeters (2014-12-16 18:38:14+00:00)
Title: Preventing connection to EventStore when class is instantiated

Looking for feedback. Thanks again for working on an EventStore php client!

The goal here is to save an additional request each time I load up EventStore and to move the connection exception into the first sendRequest() that is called.

This also provides a way to configure timeout settings for connect/timeout. Obviously the defaults are not well thought out but I sure wouldn't wait more than 2 seconds for a "local" EventStore :)

Thanks!