We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 773cda5 + 2082ad0 commit b5f7a5aCopy full SHA for b5f7a5a
1 file changed
juju/client/connection.py
@@ -108,8 +108,10 @@ class Connection:
108
109
"""
110
111
- MAX_FRAME_SIZE = 2**22
112
- "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.
113
+ MAX_FRAME_SIZE = 0x4_000_000
114
+ "Maximum size for a single frame, 64MB."
115
facades: dict[str, int]
116
_specified_facades: dict[str, Sequence[int]]
117
bakery_client: Any
0 commit comments