File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -965,18 +965,19 @@ std::future<void> TMon::Start(TActorSystem* actorSystem) {
965
965
NLwTraceMonPage::RegisterPages (IndexMonPage.Get ());
966
966
NLwTraceMonPage::ProbeRegistry ().AddProbesList (LWTRACE_GET_PROBES (ACTORLIB_PROVIDER));
967
967
NLwTraceMonPage::ProbeRegistry ().AddProbesList (LWTRACE_GET_PROBES (MONITORING_PROVIDER));
968
+ ui32 executorPool = ActorSystem->AppData <NKikimr::TAppData>() ? ActorSystem->AppData <NKikimr::TAppData>()->UserPoolId : 0 ;
968
969
HttpProxyActorId = ActorSystem->Register (
969
970
NHttp::CreateHttpProxy (),
970
971
TMailboxType::ReadAsFilled,
971
- ActorSystem-> AppData <NKikimr::TAppData>()-> UserPoolId );
972
+ executorPool );
972
973
HttpMonServiceActorId = ActorSystem->Register (
973
974
new THttpMonServiceLegacyIndex (IndexMonPage, Config.RedirectMainPageTo ),
974
975
TMailboxType::ReadAsFilled,
975
- ActorSystem-> AppData <NKikimr::TAppData>()-> UserPoolId );
976
+ executorPool );
976
977
auto nodeProxyActorId = ActorSystem->Register (
977
978
new THttpMonServiceNodeProxy (HttpProxyActorId),
978
979
TMailboxType::ReadAsFilled,
979
- ActorSystem-> AppData <NKikimr::TAppData>()-> UserPoolId );
980
+ executorPool );
980
981
NodeProxyServiceActorId = MakeNodeProxyId (ActorSystem->NodeId );
981
982
ActorSystem->RegisterLocalService (NodeProxyServiceActorId, nodeProxyActorId);
982
983
You can’t perform that action at this time.
0 commit comments