Skip to content

Commit

Permalink
remote/client: apply maxMessagePayloadSize monkey patch for WampWebSo…
Browse files Browse the repository at this point in the history
…cketClientFactory.setProtocolOptions()

Signed-off-by: Bastian Krause <[email protected]>
  • Loading branch information
Bastian-Krause committed Jan 17, 2024
1 parent 7930f12 commit 54b1518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion labgrid/remote/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 54b1518

Please sign in to comment.