Skip to content

Commit

Permalink
Add fixed-load rate controller to calliper generator
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek jha <[email protected]>
  • Loading branch information
duckling69 committed Jun 4, 2024
1 parent b97c4b3 commit 307f4d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/generator-caliper/generators/benchmark/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ module.exports = class extends Generator {
answersObject.opts = 'tps: 100, unfinished_per_client: 100';
this._configWrite();
break;
case 'fixed-load':
answersObject.opts = 'startTps:10, transactionLoad:20';
this._configWrite();
break;
}
}

Expand Down

0 comments on commit 307f4d8

Please sign in to comment.