fix benchmarks- cant use const there

master
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--) {