fix benchmarks- cant use const there

This commit is contained in:
Tejas Manohar 2015-10-11 18:24:42 -05:00 committed by Jonathan Ong
parent a13ae6fc95
commit 1a55281fee
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ app.experimental = true;
// number of middleware
const n = parseInt(process.env.MW || '1', 10);
let n = parseInt(process.env.MW || '1', 10);
console.log(` ${n} async middleware`);
while (n--) {

View file

@ -7,7 +7,7 @@ const app = koa();
// number of middleware
const n = parseInt(process.env.MW || '1', 10);
let n = parseInt(process.env.MW || '1', 10);
console.log(` ${n} middleware`);
while (n--) {