Skip to content

Conversation

@tomaka
Copy link
Member

@tomaka tomaka commented Sep 6, 2018

Upload only chunks of 1024 bytes at a time.
This means that we have higher chances of being able to write without waiting for the underlying socket.

Also makes interleaving more likely to happen, although work may need to be done in this regard.

Successfully tested on substrate when replacing 1024 with 2.

@tomaka tomaka merged commit bccd710 into libp2p:master Sep 6, 2018
@tomaka tomaka deleted the mplex-max-upload branch September 6, 2018 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants