diff --git a/src/agentscope/rpc/rpc_client.py b/src/agentscope/rpc/rpc_client.py index bc5215797..fe1311207 100644 --- a/src/agentscope/rpc/rpc_client.py +++ b/src/agentscope/rpc/rpc_client.py @@ -34,7 +34,7 @@ class RpcClient: """A client of Rpc agent server""" _CHANNEL_POOL = {} - _EXECUTOR = ThreadPoolExecutor() + _EXECUTOR = ThreadPoolExecutor(max_workers=32) def __init__( self,