Skip to content

Commit

Permalink
chore: edit default values
Browse files Browse the repository at this point in the history
Signed-off-by: nikolay <[email protected]>
  • Loading branch information
natanasow committed Nov 19, 2024
1 parent ec0edf9 commit 864af9f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ RELAY_INPUT_SIZE_LIMIT=1
RELAY_RATE_LIMIT_DISABLED=true
RELAY_MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES=20
RELAY_DEBUG_API_ENABLED=true
RELAY_HBAR_RATE_LIMIT_BASIC=500000000000
RELAY_HBAR_RATE_LIMIT_EXTENDED=600000000000
RELAY_HBAR_RATE_LIMIT_PRIVILEGED=700000000000

#### Record Stream Uploader ####
STREAM_EXTENSION=rcd.gz
Expand Down
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,9 @@ services:
REDIS_URL: "${RELAY_REDIS_URL}"
MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES: "${RELAY_MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES}"
DEBUG_API_ENABLED: "${RELAY_DEBUG_API_ENABLED}"
HBAR_RATE_LIMIT_BASIC: "${RELAY_HBAR_RATE_LIMIT_BASIC}"
HBAR_RATE_LIMIT_EXTENDED: "${RELAY_HBAR_RATE_LIMIT_EXTENDED}"
HBAR_RATE_LIMIT_PRIVILEGED: "${RELAY_HBAR_RATE_LIMIT_PRIVILEGED}"
ports:
- "7546:7546"
restart: unless-stopped
Expand Down
5 changes: 4 additions & 1 deletion src/configuration/local.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
{"key": "RELAY_WS_MULTIPLE_ADDRESSES_ENABLED", "value": false},
{"key": "RELAY_WS_SUBSCRIPTION_LIMIT", "value": 100},
{"key": "RELAY_MIRROR_NODE_GET_CONTRACT_RESULTS_RETRIES", "value": "20"},
{"key": "RELAY_DEBUG_API_ENABLED", "value": true}
{"key": "RELAY_DEBUG_API_ENABLED", "value": true},
{"key": "RELAY_HBAR_RATE_LIMIT_BASIC", "value": "500000000000"},
{"key": "RELAY_HBAR_RATE_LIMIT_EXTENDED", "value": "600000000000"},
{"key": "RELAY_HBAR_RATE_LIMIT_PRIVILEGED", "value": "700000000000"}
],
"nodeConfiguration": {
"properties": [
Expand Down

0 comments on commit 864af9f

Please sign in to comment.