Add support for meta query in watcher GQL API (#453)

* Add a method to get meta data for watcher indexing status

* Add a flag indicating indexing error to sync status

* Codegen changes

* Clear indexing error on job-runner startup

* Fix lint errors
This commit is contained in:
prathamesh0
2023-11-07 14:37:05 +05:30
committed by GitHub
parent 8547876764
commit 5efab298a3
12 changed files with 220 additions and 53 deletions
+1
View File
@@ -115,6 +115,7 @@ export class JobRunnerCmd {
// Delete all active and pending (before completed) jobs to start job-runner without old queued jobs
await jobRunner.jobQueue.deleteAllJobs('completed');
await jobRunner.resetToPrevIndexedBlock();
await indexer.updateSyncStatusIndexingError(false);
await startJobRunner(jobRunner);
jobRunner.handleShutdown();