aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhcpp <hcpp@yandex-team.ru>2022-02-10 16:50:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:01 +0300
commitcd53b77f6fe67a131e376d74d4e6ffa25e35d412 (patch)
treee61539274ba7a458eab77a08b2765a07f94398e7 /library
parent8cb7383a794381ba734eebe2a6737c40e0223f2f (diff)
downloadydb-cd53b77f6fe67a131e376d74d4e6ffa25e35d412.tar.gz
Restoring authorship annotation for <hcpp@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/actors/http/http_proxy_incoming.cpp2
-rw-r--r--library/cpp/grpc/server/grpc_request.h14
-rw-r--r--library/cpp/ya.make2
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 80fe2af53d..a6bb8e663b 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 5bd8d3902b..acde4cd846 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 8c1193b007..ae478c8456 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