Skip to content

Commit 73118a5

Browse files
Merge pull request mavlink#398 from atruebin/standalone-pool-for-streaming
Create a new thread pool for each streaming method of gRPC channel
2 parents 414542f + 5cc274b commit 73118a5

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)