Turn off block prefetching

This commit is contained in:
Prathamesh Musale 2023-08-09 14:08:45 +05:30
parent 58bdd92000
commit eda5bbbf1e
6 changed files with 8 additions and 11 deletions

View File

@ -41,5 +41,5 @@
eventsInBatch = 50 eventsInBatch = 50
subgraphEventsOrder = true subgraphEventsOrder = true
blockDelayInMilliSecs = 2000 blockDelayInMilliSecs = 2000
prefetchBlocksInMem = true prefetchBlocksInMem = false
prefetchBlockCount = 10 prefetchBlockCount = 10

View File

@ -86,5 +86,5 @@
eventsInBatch = 50 eventsInBatch = 50
subgraphEventsOrder = true subgraphEventsOrder = true
blockDelayInMilliSecs = 2000 blockDelayInMilliSecs = 2000
prefetchBlocksInMem = true prefetchBlocksInMem = false
prefetchBlockCount = 10 prefetchBlockCount = 10

View File

@ -37,5 +37,5 @@
eventsInBatch = 50 eventsInBatch = 50
lazyUpdateBlockProgress = true lazyUpdateBlockProgress = true
blockDelayInMilliSecs = 2000 blockDelayInMilliSecs = 2000
prefetchBlocksInMem = true prefetchBlocksInMem = false
prefetchBlockCount = 10 prefetchBlockCount = 10

View File

@ -7,5 +7,4 @@ WORKDIR /app
COPY . . COPY . .
RUN echo "Building uniswap-watcher-ts" && \ RUN echo "Building uniswap-watcher-ts" && \
git checkout sushiswap && \
yarn && yarn build && yarn build:contracts yarn && yarn build && yarn build:contracts

View File

@ -5,9 +5,7 @@
Clone required repositories: Clone required repositories:
```bash ```bash
laconic-so --stack sushiswap setup-repositories laconic-so --stack sushiswap setup-repositories --git-ssh
# If this throws an error as a result of being already checked out to a branch/tag in a repo, remove the conflicting repositories and re-run the command
``` ```
Build the container images: Build the container images:

View File

@ -5,9 +5,9 @@ repos:
## fixturenet-lotus repo ## fixturenet-lotus repo
- github.com/filecoin-project/lotus - github.com/filecoin-project/lotus
## sushiswap repos ## sushiswap repos
- github.com/cerc-io/sushiswap-v3-core - github.com/cerc-io/sushiswap-v3-core@watcher-ts
- github.com/cerc-io/sushiswap-v3-periphery - github.com/cerc-io/sushiswap-v3-periphery@watcher-ts
- github.com/vulcanize/uniswap-watcher-ts - github.com/vulcanize/uniswap-watcher-ts@sushiswap
- github.com/vulcanize/uniswap-v3-info - github.com/vulcanize/uniswap-v3-info
containers: containers:
## fixturenet-lotus image ## fixturenet-lotus image