Browse Source

Typo in http_server_lag.js script

Thanks, @mscdex
v0.9.1-release
isaacs 13 years ago
parent
commit
150053b3fa
  1. 2
      benchmark/http_server_lag.js

2
benchmark/http_server_lag.js

@ -4,7 +4,7 @@ var defaultLag = parseInt(process.argv[2], 10) || 100;
http.createServer(function(req, res) { http.createServer(function(req, res) {
res.writeHead(200, { 'content-type': 'text/plain', res.writeHead(200, { 'content-type': 'text/plain',
'content-lengt': '2' }); 'content-length': '2' });
var lag = parseInt(req.url.split("/").pop(), 10) || defaultLag; var lag = parseInt(req.url.split("/").pop(), 10) || defaultLag;
setTimeout(function() { setTimeout(function() {

Loading…
Cancel
Save