Skip to content

Commit

Permalink
429 err
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed May 8, 2024
1 parent 7a54028 commit 3e69626
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apollo/src/lnv2/lnv2.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class Lnv2Service implements OnModuleInit {
name: 'lnBridgeV2',
fetchHistoryDataFirst: 10,
fetchSendDataInterval: 10000,
takeEachTime: 10,
takeEachTime: 5,
};

// default cache, opposite cache
Expand Down
4 changes: 2 additions & 2 deletions apollo/src/lnv3/lnv3.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export class Lnv3Service implements OnModuleInit {
.fill('')
.map((_) => ({ latestNonce: -1, latestRelayerInfoNonce: -1, isSyncingHistory: false }));

protected fetchSendDataInterval = 10000;
protected fetchSendDataInterval = 5000;

private readonly takeEachTime = 50;
private readonly takeEachTime = 10;
private skip = new Array(this.transferService.transfers.length).fill(0);

constructor(
Expand Down

0 comments on commit 3e69626

Please sign in to comment.