Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions juju/client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ class Connection:

"""

MAX_FRAME_SIZE = 2**22
"Maximum size for a single frame. Defaults to 4MB."
# Juju 3.6 is limited by MongoDB transaction size limit, 16MB of BSON.
# Set the jRPC receive limit to 64MB of JSON to account for formatting differences.
MAX_FRAME_SIZE = 0x4_000_000
"Maximum size for a single frame, 64MB."
facades: dict[str, int]
_specified_facades: dict[str, Sequence[int]]
bakery_client: Any
Expand Down