Skip to content

Commit

Permalink
Fix rate limit env variable names (#366)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivo Yankov <[email protected]>
  • Loading branch information
Ivo-Yankov authored Jul 20, 2023
1 parent 78e262f commit 237156e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ RELAY_TIER_1_RATE_LIMIT=100
RELAY_TIER_2_RATE_LIMIT=800
RELAY_TIER_3_RATE_LIMIT=1600
RELAY_LIMIT_DURATION=60000
HBAR_RATE_LIMIT_TINYBAR=0
HBAR_RATE_LIMIT_DURATION=0
RELAY_HBAR_RATE_LIMIT_TINYBAR=0
RELAY_HBAR_RATE_LIMIT_DURATION=0
RELAY_ETH_GET_LOGS_BLOCK_RANGE_LIMIT=1000
RELAY_DEV_MODE=false
RELAY_INPUT_SIZE_LIMIT=1
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hashgraph/hedera-local",
"version": "2.11.0",
"version": "2.11.1",
"description": "Developer tooling for running Local Hedera Network (Consensus + Mirror Nodes).",
"homepage": "https://github.com/hashgraph/hedera-local-node",
"repository": "github.com:hashgraph/hedera-local-node",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/nodeController.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ module.exports = class NodeController {
if (relayRateLimitDisabled) {
NodeController.setEnvValue(
`${baseFolder}/.env`,
"HBAR_RATE_LIMIT_TINYBAR",
"RELAY_HBAR_RATE_LIMIT_TINYBAR",
"0"
);
NodeController.setEnvValue(
`${baseFolder}/.env`,
"HBAR_RATE_LIMIT_DURATION",
"RELAY_HBAR_RATE_LIMIT_DURATION",
"0"
);
}
Expand Down

0 comments on commit 237156e

Please sign in to comment.