Skip to content

Commit

Permalink
undo local changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xyijing committed Oct 25, 2023
1 parent f083279 commit 34234b4
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,30 +76,30 @@ createConnection(ormConfig as ConnectionOptions)
schedule(null, null, currentBlockMonitor.monitor, 'Current Block');
schedule(connection, producer, blockScraper.getParseSaveEventsAsync, 'Pull and Save Blocks');
schedule(connection, producer, eventsByTopicScraper.getParseSaveEventsAsync, 'Pull and Save Events by Topic');
// schedule(connection, producer, eventsBackfillScraper.getParseSaveEventsAsync, 'Backfill Events by Topic');
// schedule(
// connection,
// producer,
// backfillTxScraper.getParseSaveTxBackfillAsync,
// 'Pull and Save Backfill Transactions',
// );
// if (CHAIN_ID === 1) {
// schedule(connection, null, legacyEventScraper.getParseSaveEventsAsync, 'Pull and Save Legacy Events');
// }
// if (FEAT_TOKENS_FROM_TRANSFERS) {
// schedule(
// connection,
// null,
// tokensFromTransfersScraper.getParseSaveTokensFromTransfersAsync,
// 'Pull and Save Tokens',
// );
// schedule(
// connection,
// null,
// tokensFromBackfill.getParseSaveTokensFromBackfillAsync,
// 'Pull and Save Backfill Tokens',
// );
// }
schedule(connection, producer, eventsBackfillScraper.getParseSaveEventsAsync, 'Backfill Events by Topic');
schedule(
connection,
producer,
backfillTxScraper.getParseSaveTxBackfillAsync,
'Pull and Save Backfill Transactions',
);
if (CHAIN_ID === 1) {
schedule(connection, null, legacyEventScraper.getParseSaveEventsAsync, 'Pull and Save Legacy Events');
}
if (FEAT_TOKENS_FROM_TRANSFERS) {
schedule(
connection,
null,
tokensFromTransfersScraper.getParseSaveTokensFromTransfersAsync,
'Pull and Save Tokens',
);
schedule(
connection,
null,
tokensFromBackfill.getParseSaveTokensFromBackfillAsync,
'Pull and Save Backfill Tokens',
);
}
})
.catch((error) => logger.error(error));

Expand Down

0 comments on commit 34234b4

Please sign in to comment.