Skip to content

Commit

Permalink
Only notify unproven scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
prevostc committed Oct 26, 2023
1 parent 44bca46 commit 648a571
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/script/harvest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ async function main() {
await notifyError({ doing: 'insert harvest report', data: { chain: report.chain } }, e);
}

await notifyHarvestReport(report, db_raw_report_id);
//await notifyHarvestReport(report, db_raw_report_id);
logger.debug({ msg: 'Harvesting done', data: { chain, db_raw_report_id, notifyHarvestReport } });

return report;
})
Expand Down
3 changes: 2 additions & 1 deletion src/script/unwrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ async function main() {
await notifyError({ doing: 'insert unwrap report', data: { chain: report.chain } }, e);
}

await notifyUnwrapReport(report, db_raw_report_id);
//await notifyUnwrapReport(report, db_raw_report_id);
logger.debug({ msg: 'Unwrap done', data: { chain, db_raw_report_id, notifyUnwrapReport } });

return report;
})
Expand Down

0 comments on commit 648a571

Please sign in to comment.