diff options
author | 2023-03-01 01:25:33 +0000 | |
---|---|---|
committer | 2023-03-01 21:25:17 +0000 | |
commit | feb13e8bfe5d9e23563761f042fcf19b7b008d4d (patch) | |
tree | 509ab35d45a55dea510e433a8e663ad37129b204 /cmds/service/service.cpp | |
parent | 11a9b4824010d4ef39f9f04eb10d98adcd91d242 (diff) |
RPC Binder: setMaxOutgoing{Threads,Connections}
This API is updated to emphasize that it is placing a limit
on the number of connections that will be started corresponding
to threads in a remote pool. These connections won't actually
correspond to threads in the process that this API is called.
Documentation has also been updated to clarify a few questions
from an internal discussion forum.
Fixes: 270374393
Test: binderRpcTest
Change-Id: Ia0d9f0d0f42f58a2c63bf506476b33985f091a34
Diffstat (limited to 'cmds/service/service.cpp')
-rw-r--r-- | cmds/service/service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/service/service.cpp b/cmds/service/service.cpp index d5ca725eb9..5e8ef5d7d8 100644 --- a/cmds/service/service.cpp +++ b/cmds/service/service.cpp @@ -75,7 +75,7 @@ int main(int argc, char* const argv[]) ProcessState::initWithDriver("/dev/vndbinder"); #endif #ifndef __ANDROID__ - setDefaultServiceManager(createRpcDelegateServiceManager({.maxOutgoingThreads = 1})); + setDefaultServiceManager(createRpcDelegateServiceManager({.maxOutgoingConnections = 1})); #endif sp<IServiceManager> sm = defaultServiceManager(); fflush(stdout); |