Skip to content

Commit

Permalink
agent: bump DEFAULT_SUBGRAPH_MAX_BLOCK_DISTANCE to 1000 (applies to s…
Browse files Browse the repository at this point in the history
…ingle network mode)
  • Loading branch information
dwerner committed Jan 15, 2025
1 parent 74f1185 commit c2a7065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/indexer-agent/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { AgentConfigs } from '../types'
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export type AgentOptions = { [key: string]: any } & Argv['argv']

const DEFAULT_SUBGRAPH_MAX_BLOCK_DISTANCE = 0
const DEFAULT_SUBGRAPH_MAX_BLOCK_DISTANCE = 1000
const SUGGESTED_SUBGRAPH_MAX_BLOCK_DISTANCE_ON_L2 =
50 + DEFAULT_SUBGRAPH_MAX_BLOCK_DISTANCE
const DEFAULT_SUBGRAPH_FRESHNESS_SLEEP_MILLISECONDS = 5_000
Expand Down

0 comments on commit c2a7065

Please sign in to comment.