Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
test: raise pummel/test-net-throttle write req size
pummel/test-net-throttle assumes that a couple of big write requests result in
some of them getting queued because the kernel's send buffer fills up.

Said assumption breaks on systems with large send buffers. Raise the size of
the write request to ameliorate the issue.
  • Loading branch information
bnoordhuis committed Aug 8, 2012
1 parent 5fba3b8 commit 6770555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pummel/test-net-throttle.js
Expand Up @@ -26,7 +26,7 @@ var common = require('../common');
var assert = require('assert');
var net = require('net');

var N = 160 * 1024;
var N = 1024 * 1024;
var part_N = N / 3;
var chars_recved = 0;
var npauses = 0;
Expand Down

0 comments on commit 6770555

Please sign in to comment.