Browse Source

rollback to unix

justheuristic 3 năm trước cách đây
mục cha
commit
0d6ae4db8f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hivemind/p2p/p2p_daemon.py

+ 1 - 1
hivemind/p2p/p2p_daemon.py

@@ -277,7 +277,7 @@ class P2P:
     TOutputProtobuf = TypeVar("TOutputProtobuf")
 
     @staticmethod
-    async def send_protobuf(protobuf: Union[TOutputProtobuf, RPCError], writer: asyncio.StreamWriter, *, chunk_size: int = 2 ** 16) -> None:
+    async def send_protobuf(protobuf: Union[TOutputProtobuf, RPCError], writer: asyncio.StreamWriter, *, chunk_size: int = 2 ** 15) -> None:
         if isinstance(protobuf, RPCError):
             writer.write(P2P.ERROR_MARKER)
         else: