Skip to content

Commit

Permalink
restored env for rust solana reader
Browse files Browse the repository at this point in the history
  • Loading branch information
artyukh committed Jun 20, 2023
1 parent a243bda commit b34bd7b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .default.env
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ DEBRIDGE_EVENTS_RESYNC_SIGNATURES_CHUNK_SIZE=5
#
#Param is optional
DEBRIDGE_EVENTS_CONSISTENCY_CHECK_TIMEOUT_SECS=10
# Time to requery data from the database for stream subscribers
# Can be left at default (1 second).
# If the number of subscribers is large, it should be reduced to control the load on the database
#
#Param is optional
DEBRIDGE_EVENTS_DB_REQUERY_TIMEOUT_IN_SEC=5
# Time to hearbeat
# Can be left at default (5 second).
# How often will this service send the current status of the service, even in the absence of events
DEBRIDGE_EVENTS_HEARTBEAT_TIMEOUT_IN_SEC=30

SOLANA_GRPC_SERVICE_URL=solana-grpc-service${DOCKER_ID}:7777
DEBRIDGE_SOLANA_EVENTS_PSQL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_SOLANA_READER_DATABASE}
BUNDLR_NODE=http://node2.bundlr.network
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ services:
- DEBRIDGE_EVENTS_SOLANA_CLUSTER=${DEBRIDGE_EVENTS_SOLANA_CLUSTER}
- DEBRIDGE_EVENTS_SOLANA_WEBSOCKET_CLUSTER=${DEBRIDGE_EVENTS_SOLANA_WEBSOCKET_CLUSTER}
- DEBRIDGE_EVENTS_RESYNC_SIGNATURES_CHUNK_SIZE=${DEBRIDGE_EVENTS_RESYNC_SIGNATURES_CHUNK_SIZE}
- DEBRIDGE_EVENTS_DB_REQUERY_TIMEOUT_IN_SEC=${DEBRIDGE_EVENTS_DB_REQUERY_TIMEOUT_IN_SEC}
- DEBRIDGE_EVENTS_HEARTBEAT_TIMEOUT_IN_SEC=${DEBRIDGE_EVENTS_HEARTBEAT_TIMEOUT_IN_SEC}
- DEBRIDGE_EVENTS_IS_INTERCEPT_SEND=true
- DEBRIDGE_EVENTS_IS_EXTERNAL_CALL_NEEDED=false
- DEBRIDGE_EVENTS_IS_INTERCEPT_CLAIM=false
Expand Down Expand Up @@ -93,4 +95,4 @@ secrets:
keystore:
file: ./secrets/keystore.json
bundlr_wallet:
file: ./secrets/bundlr_wallet.json
file: ./secrets/bundlr_wallet.json

0 comments on commit b34bd7b

Please sign in to comment.