fix benchmarks- cant use const there
This commit is contained in:
parent
a13ae6fc95
commit
1a55281fee
2 changed files with 2 additions and 2 deletions
|
@ -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--) {
|
||||
|
|
|
@ -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--) {
|
||||
|
|
Loading…
Reference in a new issue