Skip to content

Commit c55f8f3

Browse files
lpincatargos
authored andcommitted
test: reduce the number of requests and parsers
The maximum number of parsers in the free list is set to 1000. However the test does not need to use this maximum. Reduce it to 50. Refs: #50228 (comment) PR-URL: #50240Fixes: #49564 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
1 parent 2473aa3 commit c55f8f3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎test/sequential/test-http-regr-gh-2928.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const httpCommon = require('_http_common');
88
const{ HTTPParser }=require('_http_common');
99
constnet=require('net');
1010

11+
httpCommon.parsers.max=50;
12+
1113
constCOUNT=httpCommon.parsers.max+1;
1214

1315
constparsers=newArray(COUNT);

0 commit comments

Comments
 (0)