Made connection for event store configurable