File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -51,12 +51,6 @@ export class BlocksEventsConsumer {
51
51
@Process ( { concurrency : 20 } )
52
52
private async process ( job : Job < BlocksEventsQueueMessage > ) {
53
53
const { chainId, from, to } = job . data ;
54
-
55
- if ( to - from >= 50_000 ) {
56
- this . logger . error ( `Block range too big: ${ from } -${ to } ` ) ;
57
- return ;
58
- }
59
-
60
54
const spokePoolConfigs = this . appConfig . values . web3 . spokePoolContracts [ chainId ] ;
61
55
const ascSpokePoolConfigs = spokePoolConfigs . sort ( ( sp1 , sp2 ) =>
62
56
sp1 . startBlockNumber < sp2 . startBlockNumber ? - 1 : 1 ,
Original file line number Diff line number Diff line change @@ -60,7 +60,10 @@ import { DepositGapService } from "./service/DepositGapService";
60
60
@Module ( { } )
61
61
export class ScraperModule {
62
62
static forRoot ( moduleOptions : ModuleOptions ) : DynamicModule {
63
- const crons = [ QueuesMonitoringCron , DepositsGapDetectionCron ] ;
63
+ const crons = [
64
+ QueuesMonitoringCron ,
65
+ // DepositsGapDetectionCron
66
+ ] ;
64
67
const fixtures = [ DepositGapCheckFixture ] ;
65
68
const providers : Provider < any > [ ] = [
66
69
...crons ,
You can’t perform that action at this time.
0 commit comments