Skip to content

Commit

Permalink
limit the capcity of sub-process mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-x-c committed Sep 13, 2024
1 parent a8f4c83 commit 0b773ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/agentscope/rpc/rpc_object.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ def __init__(
self.server_launcher = RpcAgentServerLauncher(
host=self.host,
port=self.port,
capacity=2,
max_pool_size=max_pool_size,
max_expire_time=max_expire_time,
max_timeout_seconds=max_timeout_seconds,
Expand Down

0 comments on commit 0b773ed

Please sign in to comment.