Skip to content

Commit

Permalink
feat: update mongo connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri-go committed Dec 22, 2023
1 parent 8baa97b commit 74b091b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/.env.mainnet.example
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ INJ_CORE_IMAGE_VERSION=v1.11.6-rc0
# Resource limits works only with swarm mode
INJ_CORE_STACK_RESOURCE_RAM_LIMIT=80G
INJ_CORE_STACK_RESOURCE_RAM_RESEVATION=30G
INJ_CORE_CMD_STREAM_API="--chainstream-server 0.0.0.0:9999" #Set empty string to disable
# INJ_CORE_CMD_STREAM_API="--chainstream-server 0.0.0.0:9999" #Set empty string to disable

# Peggo Optional Env #
INJ_ADDR=""
Expand Down Expand Up @@ -105,7 +105,7 @@ INDEXER_EXCHANGE_API_MEMORY_LIMIT=4G

# Indexer Connections #
INDEXER_DB_MONGO_DBNAME=exchangeV2
INDEXER_DB_MONGO_CONNECTION="mongodb://mongo:27017/?replicaSet=rs0&connect=direct"
INDEXER_DB_MONGO_CONNECTION="mongodb://mongo:27017/?replicaSet=rs0&connect=direct&maxPoolSize=1000"
INDEXER_DB_EVENTPROVIDER_ENDPOINT=indexer-eventprovider-api:4444
INDEXER_DB_EVENTPROVIDER_GRPC_ADDRESS=indexer-eventprovider-api:9910
INDEXER_TENDERMINT_RPC=tcp://injective-core:26657
Expand Down
2 changes: 1 addition & 1 deletion docker/.env.testnet.example
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ INDEXER_EXCHANGE_API_MEMORY_LIMIT=4G

# Indexer Connections #
INDEXER_DB_MONGO_DBNAME=exchangeV2
INDEXER_DB_MONGO_CONNECTION="mongodb://mongo:27017/?replicaSet=rs0&connect=direct"
INDEXER_DB_MONGO_CONNECTION="mongodb://mongo:27017/?replicaSet=rs0&connect=direct&maxPoolSize=1000"
INDEXER_DB_EVENTPROVIDER_ENDPOINT=indexer-eventprovider-api:4444
INDEXER_DB_EVENTPROVIDER_GRPC_ADDRESS=indexer-eventprovider-api:9910
INDEXER_TENDERMINT_RPC=tcp://injective-core:26657
Expand Down

0 comments on commit 74b091b

Please sign in to comment.