diff options
author | dimanne <dimanne@yandex-team.ru> | 2022-02-10 16:49:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:48 +0300 |
commit | 79b3cf0f1d6edfa0268153eddcb48f3467527461 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/actors | |
parent | 93d66104be406c5b8cdfce7be5546d72d83b547e (diff) | |
download | ydb-79b3cf0f1d6edfa0268153eddcb48f3467527461.tar.gz |
Restoring authorship annotation for <dimanne@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/actors')
-rw-r--r-- | library/cpp/actors/core/events.h | 2 | ||||
-rw-r--r-- | library/cpp/actors/core/log.cpp | 2 | ||||
-rw-r--r-- | library/cpp/actors/core/log.h | 20 | ||||
-rw-r--r-- | library/cpp/actors/dnscachelib/dnscache.h | 2 | ||||
-rw-r--r-- | library/cpp/actors/dnscachelib/ya.make | 26 |
5 files changed, 26 insertions, 26 deletions
diff --git a/library/cpp/actors/core/events.h b/library/cpp/actors/core/events.h index 6aacb096ae..702cf50fad 100644 --- a/library/cpp/actors/core/events.h +++ b/library/cpp/actors/core/events.h @@ -19,7 +19,7 @@ namespace NActors { ES_MON = 7, ES_INTERCONNECT_TCP = 8, ES_PROFILER = 9, - ES_YF = 10, + ES_YF = 10, ES_HTTP = 11, ES_USERSPACE = 4096, diff --git a/library/cpp/actors/core/log.cpp b/library/cpp/actors/core/log.cpp index d8a3993916..5f63b5af58 100644 --- a/library/cpp/actors/core/log.cpp +++ b/library/cpp/actors/core/log.cpp @@ -695,7 +695,7 @@ namespace NActors { } while (!isOk); } - void ReopenLog() override { + void ReopenLog() override { } private: diff --git a/library/cpp/actors/core/log.h b/library/cpp/actors/core/log.h index a5219b5811..c11a7cf3c1 100644 --- a/library/cpp/actors/core/log.h +++ b/library/cpp/actors/core/log.h @@ -32,22 +32,22 @@ 0ull) \ ) -#define LOG_LOG_SAMPLED_BY(actorCtxOrSystem, priority, component, sampleBy, ...) \ - do { \ - ::NActors::NLog::TSettings* mSettings = static_cast<::NActors::NLog::TSettings*>((actorCtxOrSystem).LoggerSettings()); \ - ::NActors::NLog::EPriority mPriority = static_cast<::NActors::NLog::EPriority>(priority); \ - ::NActors::NLog::EComponent mComponent = static_cast<::NActors::NLog::EComponent>(component); \ - if (mSettings && mSettings->Satisfies(mPriority, mComponent, sampleBy)) { \ - ::NActors::MemLogAdapter( \ - actorCtxOrSystem, priority, component, __VA_ARGS__); \ - } \ +#define LOG_LOG_SAMPLED_BY(actorCtxOrSystem, priority, component, sampleBy, ...) \ + do { \ + ::NActors::NLog::TSettings* mSettings = static_cast<::NActors::NLog::TSettings*>((actorCtxOrSystem).LoggerSettings()); \ + ::NActors::NLog::EPriority mPriority = static_cast<::NActors::NLog::EPriority>(priority); \ + ::NActors::NLog::EComponent mComponent = static_cast<::NActors::NLog::EComponent>(component); \ + if (mSettings && mSettings->Satisfies(mPriority, mComponent, sampleBy)) { \ + ::NActors::MemLogAdapter( \ + actorCtxOrSystem, priority, component, __VA_ARGS__); \ + } \ } while (0) /**/ #define LOG_LOG_S_SAMPLED_BY(actorCtxOrSystem, priority, component, sampleBy, stream) \ LOG_LOG_SAMPLED_BY(actorCtxOrSystem, priority, component, sampleBy, "%s", [&]() { \ TStringBuilder logStringBuilder; \ logStringBuilder << stream; \ - return static_cast<TString>(logStringBuilder); \ + return static_cast<TString>(logStringBuilder); \ }().data()) #define LOG_LOG(actorCtxOrSystem, priority, component, ...) LOG_LOG_SAMPLED_BY(actorCtxOrSystem, priority, component, 0ull, __VA_ARGS__) diff --git a/library/cpp/actors/dnscachelib/dnscache.h b/library/cpp/actors/dnscachelib/dnscache.h index f34b9003d9..3313a251a1 100644 --- a/library/cpp/actors/dnscachelib/dnscache.h +++ b/library/cpp/actors/dnscachelib/dnscache.h @@ -55,7 +55,7 @@ private: struct THost { THost() noexcept { } - + TVector<TIpHost> AddrsV4; time_t ResolvedV4 = 0; time_t NotFoundV4 = 0; diff --git a/library/cpp/actors/dnscachelib/ya.make b/library/cpp/actors/dnscachelib/ya.make index 60a46cc208..e3a6ad6202 100644 --- a/library/cpp/actors/dnscachelib/ya.make +++ b/library/cpp/actors/dnscachelib/ya.make @@ -1,5 +1,5 @@ -LIBRARY() - +LIBRARY() + OWNER( davenger fomichev @@ -8,17 +8,17 @@ OWNER( single ) -SRCS( - dnscache.cpp - dnscache.h +SRCS( + dnscache.cpp + dnscache.h probes.cpp probes.h - timekeeper.h -) - -PEERDIR( - contrib/libs/c-ares + timekeeper.h +) + +PEERDIR( + contrib/libs/c-ares library/cpp/lwtrace -) - -END() +) + +END() |