Skip to content

Commit

Permalink
Upd max_size
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Jan 8, 2025
1 parent 6937b7b commit aece101
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions thingsdb/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def run(

def _emit(
self,
room_id: int,
room_id: Union[int, str],
event: str,
*args: Optional[Any],
scope: Optional[str] = None,
Expand All @@ -462,7 +462,7 @@ def _emit(
emit an event to a roomId.
Args:
room_id (int):
room_id (int/str):
Room Id to emit the event to.
event (str):
Name of the event to emit.
Expand Down
2 changes: 1 addition & 1 deletion thingsdb/client/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def __init__(
self._is_closing = False

async def connect(self, uri, ssl: SSLContext):
self._proto = await connect(uri, ssl=ssl)
self._proto = await connect(uri, ssl=ssl, max_size=2**24)
asyncio.create_task(self._recv_loop())
self._is_closing = False
return self
Expand Down
2 changes: 1 addition & 1 deletion thingsdb/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.3'
__version__ = '1.1.4'

0 comments on commit aece101

Please sign in to comment.