Skip to content

Commit aece101

Browse files
committed
Upd max_size
1 parent 6937b7b commit aece101

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

thingsdb/client/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def run(
451451

452452
def _emit(
453453
self,
454-
room_id: int,
454+
room_id: Union[int, str],
455455
event: str,
456456
*args: Optional[Any],
457457
scope: Optional[str] = None,
@@ -462,7 +462,7 @@ def _emit(
462462
emit an event to a roomId.
463463
464464
Args:
465-
room_id (int):
465+
room_id (int/str):
466466
Room Id to emit the event to.
467467
event (str):
468468
Name of the event to emit.

thingsdb/client/protocol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def __init__(
354354
self._is_closing = False
355355

356356
async def connect(self, uri, ssl: SSLContext):
357-
self._proto = await connect(uri, ssl=ssl)
357+
self._proto = await connect(uri, ssl=ssl, max_size=2**24)
358358
asyncio.create_task(self._recv_loop())
359359
self._is_closing = False
360360
return self

thingsdb/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.1.3'
1+
__version__ = '1.1.4'

0 commit comments

Comments
 (0)