justheuristic 3 years ago
parent
commit
e748bdf6f1
1 changed files with 0 additions and 1 deletions
  1. 0 1
      hivemind/p2p/p2p_daemon_bindings/control.py

+ 0 - 1
hivemind/p2p/p2p_daemon_bindings/control.py

@@ -348,7 +348,6 @@ class ControlClient:
         self, peer_id: PeerID, protocols: Sequence[str]
     ) -> Tuple[StreamInfo, asyncio.StreamReader, asyncio.StreamWriter]:
         reader, writer = await self.daemon_connector.open_connection()
-        reader.transport.set_write_buffer_limits(low=2 ** 22, high=2 ** 24)
         writer.transport.set_write_buffer_limits(low=2 ** 22, high=2 ** 24)
 
         stream_open_req = p2pd_pb.StreamOpenRequest(peer=peer_id.to_bytes(), proto=list(protocols))