Fix uni-watcher to handle mainnet data (#293)

* Fix watchers to handle mainnet data

* Tweak jobs fetched per interval to reduce event processing time
This commit is contained in:
2021-12-02 15:28:03 +05:30
committed by GitHub
parent 08c712d766
commit 32fea1f2cb
8 changed files with 12 additions and 15 deletions
@@ -61,6 +61,7 @@ export class JobRunner {
await this._indexer.processEvent(event);
}
await this._indexer.updateBlockProgress(event.block.blockHash, event.index);
await this._jobQueue.markComplete(job);
});
}