diff options
author | alexvru <alexvru@ydb.tech> | 2023-08-14 15:53:46 +0300 |
---|---|---|
committer | alexvru <alexvru@ydb.tech> | 2023-08-14 23:59:23 +0300 |
commit | 8d15e67485c2a27b1ca596808ec181b50977d0b8 (patch) | |
tree | 0754a3e6237d7db401aba44eddc64607d178ce7c /library/cpp | |
parent | eb548292acbcdd13f1d1f22018d53d262f17e0e6 (diff) | |
download | ydb-8d15e67485c2a27b1ca596808ec181b50977d0b8.tar.gz |
Introduce distributed configuration KIKIMR-19031
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/actors/core/interconnect.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/library/cpp/actors/core/interconnect.h b/library/cpp/actors/core/interconnect.h index dd6509f727..46d4fd5303 100644 --- a/library/cpp/actors/core/interconnect.h +++ b/library/cpp/actors/core/interconnect.h @@ -195,6 +195,7 @@ namespace NActors { TString ResolveHost; ui16 Port; TNodeLocation Location; + bool IsStatic = true; TNodeInfo() = default; TNodeInfo(const TNodeInfo&) = default; @@ -204,13 +205,15 @@ namespace NActors { const TString& host, const TString& resolveHost, ui16 port, - const TNodeLocation& location) + const TNodeLocation& location, + bool isStatic = true) : NodeId(nodeId) , Address(address) , Host(host) , ResolveHost(resolveHost) , Port(port) , Location(location) + , IsStatic(isStatic) { } |