diff options
author | hcpp <hcpp@yandex-team.ru> | 2022-02-10 16:50:02 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:02 +0300 |
commit | 5f76ab5b18e12d75f0c861e68d730c37e347b965 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library | |
parent | cd53b77f6fe67a131e376d74d4e6ffa25e35d412 (diff) | |
download | ydb-5f76ab5b18e12d75f0c861e68d730c37e347b965.tar.gz |
Restoring authorship annotation for <hcpp@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/actors/http/http_proxy_incoming.cpp | 2 | ||||
-rw-r--r-- | library/cpp/grpc/server/grpc_request.h | 14 | ||||
-rw-r--r-- | library/cpp/ya.make | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/actors/http/http_proxy_incoming.cpp b/library/cpp/actors/http/http_proxy_incoming.cpp index a6bb8e663b..80fe2af53d 100644 --- a/library/cpp/actors/http/http_proxy_incoming.cpp +++ b/library/cpp/actors/http/http_proxy_incoming.cpp @@ -20,7 +20,7 @@ public: TDeque<THttpIncomingRequestPtr> RecycledRequests; THPTimer InactivityTimer; - static constexpr TDuration InactivityTimeout = TDuration::Minutes(2); + static constexpr TDuration InactivityTimeout = TDuration::Minutes(2); TEvPollerReady* InactivityEvent = nullptr; TPollerToken::TPtr PollerToken; diff --git a/library/cpp/grpc/server/grpc_request.h b/library/cpp/grpc/server/grpc_request.h index acde4cd846..5bd8d3902b 100644 --- a/library/cpp/grpc/server/grpc_request.h +++ b/library/cpp/grpc/server/grpc_request.h @@ -37,13 +37,13 @@ public: IStreamAdaptor::TPtr CreateStreamAdaptor(); /////////////////////////////////////////////////////////////////////////////// -template<typename TIn, typename TOut, typename TService, typename TInProtoPrinter, typename TOutProtoPrinter> +template<typename TIn, typename TOut, typename TService, typename TInProtoPrinter, typename TOutProtoPrinter> class TGRpcRequestImpl : public TBaseAsyncContext<TService> , public IQueueEvent , public IRequestContextBase { - using TThis = TGRpcRequestImpl<TIn, TOut, TService, TInProtoPrinter, TOutProtoPrinter>; + using TThis = TGRpcRequestImpl<TIn, TOut, TService, TInProtoPrinter, TOutProtoPrinter>; public: using TOnRequest = std::function<void (IRequestContextBase* ctx)>; @@ -244,7 +244,7 @@ private: void WriteDataOk(NProtoBuf::Message* resp) { auto makeResponseString = [&] { TString x; - TOutProtoPrinter printer; + TOutProtoPrinter printer; printer.SetSingleLineMode(true); printer.PrintToString(*resp, &x); return x; @@ -334,7 +334,7 @@ private: auto makeRequestString = [&] { TString resp; if (ok) { - TInProtoPrinter printer; + TInProtoPrinter printer; printer.SetSingleLineMode(true); printer.PrintToString(*Request_, &resp); } else { @@ -510,9 +510,9 @@ private: IStreamAdaptor::TPtr StreamAdaptor_; }; -template<typename TIn, typename TOut, typename TService, typename TInProtoPrinter=google::protobuf::TextFormat::Printer, typename TOutProtoPrinter=google::protobuf::TextFormat::Printer> -class TGRpcRequest: public TGRpcRequestImpl<TIn, TOut, TService, TInProtoPrinter, TOutProtoPrinter> { - using TBase = TGRpcRequestImpl<TIn, TOut, TService, TInProtoPrinter, TOutProtoPrinter>; +template<typename TIn, typename TOut, typename TService, typename TInProtoPrinter=google::protobuf::TextFormat::Printer, typename TOutProtoPrinter=google::protobuf::TextFormat::Printer> +class TGRpcRequest: public TGRpcRequestImpl<TIn, TOut, TService, TInProtoPrinter, TOutProtoPrinter> { + using TBase = TGRpcRequestImpl<TIn, TOut, TService, TInProtoPrinter, TOutProtoPrinter>; public: TGRpcRequest(TService* server, typename TService::TCurrentGRpcService::AsyncService* service, diff --git a/library/cpp/ya.make b/library/cpp/ya.make index ae478c8456..8c1193b007 100644 --- a/library/cpp/ya.make +++ b/library/cpp/ya.make @@ -205,7 +205,7 @@ RECURSE( lfalloc/dbg lfalloc/dbg_info lfalloc/yt - libgit2_wrapper + libgit2_wrapper linear_regression linear_regression/benchmark linear_regression/ut |