From 4975bd89699729c0dfc3f7efdf15e2161d58c46c Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Fri, 16 Oct 2020 12:58:40 +0200 Subject: Remove search::IOErrorHandler. --- searchcore/src/apps/proton/proton.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'searchcore') diff --git a/searchcore/src/apps/proton/proton.cpp b/searchcore/src/apps/proton/proton.cpp index 05e0ea71443..c2067f744a8 100644 --- a/searchcore/src/apps/proton/proton.cpp +++ b/searchcore/src/apps/proton/proton.cpp @@ -3,7 +3,6 @@ #include #include #include -#include #include #include #include @@ -166,7 +165,6 @@ App::Main() LOG(debug, "serviceidentity: '%s'", params.serviceidentity.c_str()); LOG(debug, "subscribeTimeout: '%" PRIu64 "'", params.subscribeTimeout); std::unique_ptr stateFile; - std::unique_ptr ioErrorHandler; protonUP = std::make_unique(params.identity, _argc > 0 ? _argv[0] : "proton", std::chrono::milliseconds(params.subscribeTimeout)); proton::Proton & proton = *protonUP; proton::BootstrapConfig::SP configSnapshot = proton.init(); @@ -183,7 +181,6 @@ App::Main() if (stateIsDown(stateString)) { LOG(error, "proton state string is %s", stateString.c_str()); } - ioErrorHandler = std::make_unique(stateFile.get()); if ( ! params.serviceidentity.empty()) { proton.getMetricManager().init(params.serviceidentity, proton.getThreadPool()); } else { -- cgit v1.2.3