Skip to content

Commit 54b1518

Browse files
remote/client: apply maxMessagePayloadSize monkey patch for WampWebSocketClientFactory.setProtocolOptions()
Signed-off-by: Bastian Krause <bst@pengutronix.de>
1 parent 7930f12 commit 54b1518

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

labgrid/remote/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
from autobahn.asyncio.wamp import ApplicationSession
2424

2525
from .common import (ResourceEntry, ResourceMatch, Place, Reservation, ReservationState, TAG_KEY,
26-
TAG_VAL, enable_tcp_nodelay)
26+
TAG_VAL, enable_tcp_nodelay, monkey_patch_max_msg_payload_size_ws_option)
2727
from .. import Environment, Target, target_factory
2828
from ..exceptions import NoDriverFoundError, NoResourceFoundError, InvalidConfigError
2929
from ..resource.remote import RemotePlaceManager, RemotePlace
@@ -34,6 +34,7 @@
3434
from ..logging import basicConfig, StepLogger
3535

3636
txaio.config.loop = asyncio.get_event_loop() # pylint: disable=no-member
37+
monkey_patch_max_msg_payload_size_ws_option()
3738

3839

3940
class Error(Exception):

0 commit comments

Comments
 (0)