From 54b15185832575f50ca1aa1b7abfb65abcf4a632 Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Tue, 16 Jan 2024 23:12:56 +0100 Subject: [PATCH] remote/client: apply maxMessagePayloadSize monkey patch for WampWebSocketClientFactory.setProtocolOptions() Signed-off-by: Bastian Krause --- labgrid/remote/client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/labgrid/remote/client.py b/labgrid/remote/client.py index 4f97502c8..235238187 100755 --- a/labgrid/remote/client.py +++ b/labgrid/remote/client.py @@ -23,7 +23,7 @@ from autobahn.asyncio.wamp import ApplicationSession from .common import (ResourceEntry, ResourceMatch, Place, Reservation, ReservationState, TAG_KEY, - TAG_VAL, enable_tcp_nodelay) + TAG_VAL, enable_tcp_nodelay, monkey_patch_max_msg_payload_size_ws_option) from .. import Environment, Target, target_factory from ..exceptions import NoDriverFoundError, NoResourceFoundError, InvalidConfigError from ..resource.remote import RemotePlaceManager, RemotePlace @@ -34,6 +34,7 @@ from ..logging import basicConfig, StepLogger txaio.config.loop = asyncio.get_event_loop() # pylint: disable=no-member +monkey_patch_max_msg_payload_size_ws_option() class Error(Exception):