Skip to content

Commit

Permalink
Merge pull request #398 from atruebin/standalone-pool-for-streaming
Browse files Browse the repository at this point in the history
Create a new thread pool for each streaming method of gRPC channel
  • Loading branch information
JonasVautherin authored Oct 22, 2021
2 parents 414542f + 5cc274b commit 73118a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mavsdk/async_plugin_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ async def _connect_backend(self):

#: gRPC channel
self._channel = aiogrpc.insecure_channel(
"{}:{}".format(self.host, self.port)
"{}:{}".format(self.host, self.port),
standalone_pool_for_streaming=True
)

logger = logging.getLogger(__name__)
Expand Down

0 comments on commit 73118a5

Please sign in to comment.