forked from goodboy/tractor
1
0
Fork 0

Fix log levels

optional_msgspec_support
Tyler Goodlet 2021-09-05 16:29:16 -04:00
parent 3eb4c6dce1
commit 3facfb6d4c
1 changed files with 2 additions and 2 deletions

View File

@ -160,11 +160,11 @@ class MsgspecTCPStream(MsgpackTCPStream):
size, = struct.unpack("<I", header)
log.trace(f'received header {size}') # type: ignore
log.transport(f'received header {size}') # type: ignore
msg_bytes = await self.recv_stream.receive_exactly(size)
log.trace(f"received {msg_bytes}") # type: ignore
log.transport(f"received {msg_bytes}") # type: ignore
yield self.decode(msg_bytes)
async def send(self, data: Any) -> None: