mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-07 08:24:06 +00:00
Clear cache of latest entities on event processing error (#201)
* Clear cache of latest entities on event processing error * Remove lighthouse-watcher and update ethersjs version * Handle GraphDecimal type in state entity * Add option for comparing all entities using paginate * Clear pruned cached entities at intervals * Move ipld-demo to graph-node package and remove reset-dbs script * Implement changes in all watchers and codegen
This commit is contained in:
@@ -211,6 +211,7 @@ class ServerConfig implements ServerConfigInterface {
|
||||
wasmRestartBlocksInterval: number;
|
||||
filterLogs: boolean;
|
||||
maxEventsBlockRange: number;
|
||||
clearEntitiesCacheInterval: number;
|
||||
|
||||
constructor () {
|
||||
this.host = '';
|
||||
@@ -225,5 +226,6 @@ class ServerConfig implements ServerConfigInterface {
|
||||
this.wasmRestartBlocksInterval = 0;
|
||||
this.filterLogs = false;
|
||||
this.maxEventsBlockRange = 0;
|
||||
this.clearEntitiesCacheInterval = 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user