summaryrefslogtreecommitdiff
path: root/libs/binder/RpcServer.cpp
diff options
context:
space:
mode:
author Yifan Hong <elsk@google.com> 2021-10-08 16:26:32 -0700
committer Yifan Hong <elsk@google.com> 2021-10-08 19:16:48 -0700
commit1042306ba3bdaf4fbca2e84bf81f5cbbf2bcab3d (patch)
tree220cae619e357e56b18fdfbc0e7d78a377957aab /libs/binder/RpcServer.cpp
parenta25b01205608f993dfdc5f9589a9eef4f159baa4 (diff)
binder: RpcSession::*MaxThreads -> *MaxIncomingThreads
We'll add a separate number for outgoing threads Bug: 194225767 Test: pass Change-Id: I7bf178c098adc6359582792a2f1ca1248a336b9f
Diffstat (limited to 'libs/binder/RpcServer.cpp')
-rw-r--r--libs/binder/RpcServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/RpcServer.cpp b/libs/binder/RpcServer.cpp
index 44b588be00..967b8e3801 100644
--- a/libs/binder/RpcServer.cpp
+++ b/libs/binder/RpcServer.cpp
@@ -381,7 +381,7 @@ void RpcServer::establishConnection(sp<RpcServer>&& server, base::unique_fd clie
} while (server->mSessions.end() != server->mSessions.find(sessionId));
session = RpcSession::make();
- session->setMaxThreads(server->mMaxThreads);
+ session->setMaxIncomingThreads(server->mMaxThreads);
if (!session->setProtocolVersion(protocolVersion)) return;
if (!session->setForServer(server,
sp<RpcServer::EventListener>::fromExisting(