Skip to content

Commit a62f768

Browse files
committed
Move iam auth actors out of IO pool
KIKIMR-19644
1 parent 3242350 commit a62f768

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ydb/core/security/ticket_parser_impl.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1444,7 +1444,7 @@ class TTicketParserImpl : public TActorBootstrapped<TDerived> {
14441444
}
14451445
settings.GrpcKeepAliveTimeMs = Config.GetAccessServiceGrpcKeepAliveTimeMs();
14461446
settings.GrpcKeepAliveTimeoutMs = Config.GetAccessServiceGrpcKeepAliveTimeoutMs();
1447-
AccessServiceValidator = Register(NCloud::CreateAccessService(settings), TMailboxType::Simple, AppData()->IOPoolId);
1447+
AccessServiceValidator = Register(NCloud::CreateAccessService(settings), TMailboxType::Simple, AppData()->UserPoolId);
14481448
if (Config.GetCacheAccessServiceAuthentication()) {
14491449
AccessServiceValidator = Register(NCloud::CreateGrpcServiceCache<NCloud::TEvAccessService::TEvAuthenticateRequest, NCloud::TEvAccessService::TEvAuthenticateResponse>(
14501450
AccessServiceValidator,
@@ -1467,7 +1467,7 @@ class TTicketParserImpl : public TActorBootstrapped<TDerived> {
14671467
if (Config.GetUseUserAccountServiceTLS()) {
14681468
settings.CertificateRootCA = TUnbufferedFileInput(Config.GetPathToRootCA()).ReadAll();
14691469
}
1470-
UserAccountService = Register(CreateUserAccountService(settings), TMailboxType::Simple, AppData()->IOPoolId);
1470+
UserAccountService = Register(CreateUserAccountService(settings), TMailboxType::Simple, AppData()->UserPoolId);
14711471
if (Config.GetCacheUserAccountService()) {
14721472
UserAccountService = Register(NCloud::CreateGrpcServiceCache<NCloud::TEvUserAccountService::TEvGetUserAccountRequest, NCloud::TEvUserAccountService::TEvGetUserAccountResponse>(
14731473
UserAccountService,
@@ -1483,7 +1483,7 @@ class TTicketParserImpl : public TActorBootstrapped<TDerived> {
14831483
if (Config.GetUseServiceAccountServiceTLS()) {
14841484
settings.CertificateRootCA = TUnbufferedFileInput(Config.GetPathToRootCA()).ReadAll();
14851485
}
1486-
ServiceAccountService = Register(NCloud::CreateServiceAccountService(settings), TMailboxType::Simple, AppData()->IOPoolId);
1486+
ServiceAccountService = Register(NCloud::CreateServiceAccountService(settings), TMailboxType::Simple, AppData()->UserPoolId);
14871487
if (Config.GetCacheServiceAccountService()) {
14881488
ServiceAccountService = Register(NCloud::CreateGrpcServiceCache<NCloud::TEvServiceAccountService::TEvGetServiceAccountRequest, NCloud::TEvServiceAccountService::TEvGetServiceAccountResponse>(
14891489
ServiceAccountService,

0 commit comments

Comments
 (0)