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

Commit

Permalink
test: raise pummel/test-net-throttle write req size
Browse files Browse the repository at this point in the history
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.

This is a back-port of commit 6770555 from the master branch.
  • Loading branch information
bnoordhuis committed Aug 14, 2012
1 parent 786e1e8 commit bcb5bde
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 bcb5bde

Please sign in to comment.