Skip to content

Commit

Permalink
Disable stale networks & further reduce batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kus committed Dec 21, 2021
1 parent d260be8 commit e30f212
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
44 changes: 22 additions & 22 deletions configs/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ rpc:
mainnet:
uri: ${MAINNET_RPC_URI:-https://rpc.tzkt.io/mainnet}
timeout: 20
florencenet:
uri: ${TESTNET_RPC_URI:-https://rpc.tzkt.io/florencenobanet}
timeout: 20
granadanet:
uri: ${NEXTNET_RPC_URI:-https://rpc.tzkt.io/granadanet}
timeout: 20
hangzhounet:
uri: https://rpc.tzkt.io/hangzhounet
timeout: 20
# florencenet:
# uri: ${TESTNET_RPC_URI:-https://rpc.tzkt.io/florencenobanet}
# timeout: 20
# granadanet:
# uri: ${NEXTNET_RPC_URI:-https://rpc.tzkt.io/granadanet}
# timeout: 20
# hangzhounet:
# uri: https://rpc.tzkt.io/hangzhounet
# timeout: 20
hangzhou2net:
uri: https://rpc.tzkt.io/hangzhou2net
timeout: 20
Expand All @@ -24,10 +24,10 @@ tzkt:
services:
mainnet:
mempool: https://mempool.dipdup.net/v1/graphql
florencenet:
mempool: https://mempool.staging.dipdup.net/v1/graphql
hangzhounet:
mempool: https://mempool.staging.dipdup.net/v1/graphql
# florencenet:
# mempool: https://mempool.staging.dipdup.net/v1/graphql
# hangzhounet:
# mempool: https://mempool.staging.dipdup.net/v1/graphql
hangzhou2net:
mempool: https://mempool.staging.dipdup.net/v1/graphql

Expand Down Expand Up @@ -71,9 +71,9 @@ api:
sandbox_mode: false
networks:
- mainnet
- florencenet
- granadanet
- hangzhounet
# - florencenet
# - granadanet
# - hangzhounet
- hangzhou2net
pinata:
key: ${PINATA_KEY}
Expand All @@ -91,9 +91,9 @@ indexer:
networks:
mainnet:
boost: tzkt
florencenet:
granadanet:
hangzhounet:
# florencenet:
# granadanet:
# hangzhounet:
hangzhou2net:
connections:
max: 5
Expand All @@ -115,9 +115,9 @@ scripts:
secret_access_key: ${AWS_SECRET_ACCESS_KEY}
networks:
- mainnet
- florencenet
- granadanet
- hangzhounet
# - florencenet
# - granadanet
# - hangzhounet
- hangzhou2net
connections:
max: 5
Expand Down
2 changes: 1 addition & 1 deletion internal/parsers/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

const (
batchSize = 100
batchSize = 10
)

// Result -
Expand Down

0 comments on commit e30f212

Please sign in to comment.