diff options
author | alexvru <alexvru@ydb.tech> | 2023-03-06 14:59:55 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2023-03-06 14:59:55 +0300 |
commit | 5107235a3e72bb766783954ac5cbc77cb2bfd679 (patch) | |
tree | 55857ad7a7aa5607b46ebd50e13c8d5e01bbd7bf /library/cpp | |
parent | ebce6c613dd45f58a94c65c3dd033467cc1b8d33 (diff) | |
download | ydb-5107235a3e72bb766783954ac5cbc77cb2bfd679.tar.gz |
Interconnect handshake activity markdown
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/actors/interconnect/interconnect_handshake.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/library/cpp/actors/interconnect/interconnect_handshake.cpp b/library/cpp/actors/interconnect/interconnect_handshake.cpp index 1f5d71dfbd..9926e8fa1f 100644 --- a/library/cpp/actors/interconnect/interconnect_handshake.cpp +++ b/library/cpp/actors/interconnect/interconnect_handshake.cpp @@ -100,10 +100,6 @@ namespace NActors { TActorId HandshakeBroker; public: - static constexpr IActor::EActivityType ActorActivityType() { - return IActor::INTERCONNECT_HANDSHAKE; - } - THandshakeActor(TInterconnectProxyCommon::TPtr common, const TActorId& self, const TActorId& peer, ui32 nodeId, ui64 nextPacket, TString peerHostName, TSessionParams params) : TActorCoroImpl(StackSize, true, true) // allow unhandled poison pills and dtors @@ -1072,11 +1068,12 @@ namespace NActors { const TActorId& peer, ui32 nodeId, ui64 nextPacket, TString peerHostName, TSessionParams params) { return new TActorCoro(MakeHolder<THandshakeActor>(std::move(common), self, peer, nodeId, nextPacket, - std::move(peerHostName), std::move(params))); + std::move(peerHostName), std::move(params)), IActor::INTERCONNECT_HANDSHAKE); } IActor* CreateIncomingHandshakeActor(TInterconnectProxyCommon::TPtr common, TSocketPtr socket) { - return new TActorCoro(MakeHolder<THandshakeActor>(std::move(common), std::move(socket))); + return new TActorCoro(MakeHolder<THandshakeActor>(std::move(common), std::move(socket)), + IActor::INTERCONNECT_HANDSHAKE); } } |