private void ReadOnlyOpsStore_ConnectionStatusCahnged(object sender, EventArgs e)
{
if (!this.isInitialized)
{
return;
}
if (this.readOnlyOpsStore.Changes().Connected)
{
logger.Info("Connected to ReadOnly operations store at {0}.", this.readOnlyOpsStore.Url);
}
else
{
logger.Warn("Lost connection to ReadOnly operations store at {0}.", this.readOnlyOpsStore.Url);
}
this.ApplyRavenConfig();
}