diff --git a/.clang-format b/.clang-format index b7bf369..7379b41 100644 --- a/.clang-format +++ b/.clang-format @@ -17,7 +17,6 @@ AlignEscapedNewlines: Right AlignOperands: false AlignTrailingComments: true AllowShortIfStatementsOnASingleLine: true -AllowShortBlocksOnASingleLine: true AllowShortCaseLabelsOnASingleLine: false # AllowShortFunctionsOnASingleLine: InlineOnly # AllowShortLoopsOnASingleLine: false diff --git a/conanfile.py b/conanfile.py index 843feab..28516c2 100644 --- a/conanfile.py +++ b/conanfile.py @@ -10,7 +10,7 @@ class NuRaftMesgConan(ConanFile): name = "nuraft_mesg" - version = "3.5.2" + version = "3.5.3" homepage = "https://github.com/eBay/nuraft_mesg" description = "A gRPC service for NuRAFT" diff --git a/src/lib/manager_impl.cpp b/src/lib/manager_impl.cpp index 560b386..fe102d2 100644 --- a/src/lib/manager_impl.cpp +++ b/src/lib/manager_impl.cpp @@ -95,7 +95,7 @@ void ManagerImpl::restart_server() { RELEASE_ASSERT(_mesg_service, "Need to call ::start() first!"); sisl::GrpcServer* tmp_server = nullptr; try { - tmp_server = sisl::GrpcServer::make(listen_address, _start_params.token_verifier_, + tmp_server = sisl::GrpcServer::make(listen_address, start_params_.token_verifier_, NURAFT_MESG_CONFIG(grpc_server_thread_cnt), start_params_.ssl_key_, start_params_.ssl_cert_, start_params_.max_message_size_); } catch (std::runtime_error const& e) {