diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-11 20:47:42 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-11 20:47:42 +0200 |
| commit | 2ef0c215ea4af421a4b22ab543a5999320998f68 (patch) | |
| tree | d0c5d25fca95042c3c58724e1058f4d56b415f9f /packages/meshbay-node/src/meshbay_node/transport/webrtc/worker.py | |
| parent | 176b5ed563f7022009b70751e62b7ee7901e6da0 (diff) | |
| download | meshbay-2ef0c215ea4af421a4b22ab543a5999320998f68.tar.gz | |
fix(node): a receive buffer that holds an upload's window
Uploads ran at 6.5 MB/s because the kernel dropped datagrams at the
node's 256 KB socket. Asking for 4 MB gave 19.5 MB/s, no drop.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/transport/webrtc/worker.py')
| -rw-r--r-- | packages/meshbay-node/src/meshbay_node/transport/webrtc/worker.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/transport/webrtc/worker.py b/packages/meshbay-node/src/meshbay_node/transport/webrtc/worker.py index 072c849..832428a 100644 --- a/packages/meshbay-node/src/meshbay_node/transport/webrtc/worker.py +++ b/packages/meshbay-node/src/meshbay_node/transport/webrtc/worker.py @@ -226,7 +226,11 @@ async def _main() -> None: # Patches aiortc on import, as the node does for the connections it holds # itself. - from meshbay_node.transport.webrtc import sctp_fix, sctp_stats # noqa: F401 + from meshbay_node.transport.webrtc import ( # noqa: F401 + sctp_fix, + sctp_stats, + udp_buffer, + ) worker = Worker(reader, writer) worker.configure(hello) |