Skip to content

Commit 5cc274b

Browse files
author
Artem Trubin
committed
Create a new thread pool for each streaming method of gRPC channel
1 parent 414542f commit 5cc274b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mavsdk/async_plugin_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ async def _connect_backend(self):
2727

2828
#: gRPC channel
2929
self._channel = aiogrpc.insecure_channel(
30-
"{}:{}".format(self.host, self.port)
30+
"{}:{}".format(self.host, self.port),
31+
standalone_pool_for_streaming=True
3132
)
3233

3334
logger = logging.getLogger(__name__)

0 commit comments

Comments
 (0)