void CatchupRecentWork::onFailureRaise() { mApp.getCatchupManager().historyCaughtup(); asio::error_code ec = std::make_error_code(std::errc::timed_out); mEndHandler(ec, CatchupManager::CATCHUP_RECENT, mFirstVerified); }
void ArchivePublisher::enterEndState() { CLOG(DEBUG, "History") << "Finished publishing to archive '" << this->mArchive->getName() << "'"; mState = PUBLISH_END; mEndHandler(mError); }