Skip to content

Commit

Permalink
Merge pull request #156 from Giveth/feat/disable-rpc-ingestion-option
Browse files Browse the repository at this point in the history
Added option to disable rpc data ingestion
  • Loading branch information
MohammadPCh authored Nov 27, 2024
2 parents 2edf9e2 + 4c49b3a commit 8fb7585
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ export class Processor {
// More RPC connection options at https://docs.subsquid.io/evm-indexing/configuration/initialization/#set-data-source
rateLimit: 10,
})
.setRpcDataIngestionSettings({
disabled: process.env.RPC_DATA_INGESTION_DISABLED === "true",
})
.setFinalityConfirmation(1)
.setFields({
log: {
Expand Down

0 comments on commit 8fb7585

Please sign in to comment.