mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-08 16:54:08 +00:00
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:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user