Skip to content

Commit 97dd16b

Browse files
committed
agent: bump DEFAULT_SUBGRAPH_MAX_BLOCK_DISTANCE to 1000 (applies to single network mode)
1 parent cfb6ec6 commit 97dd16b

File tree

1 file changed

+1
-1
lines changed
  • packages/indexer-agent/src/commands

1 file changed

+1
-1
lines changed

packages/indexer-agent/src/commands/start.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import { AgentConfigs } from '../types'
3838
// eslint-disable-next-line @typescript-eslint/no-explicit-any
3939
export type AgentOptions = { [key: string]: any } & Argv['argv']
4040

41-
const DEFAULT_SUBGRAPH_MAX_BLOCK_DISTANCE = 0
41+
const DEFAULT_SUBGRAPH_MAX_BLOCK_DISTANCE = 1000
4242
const SUGGESTED_SUBGRAPH_MAX_BLOCK_DISTANCE_ON_L2 =
4343
50 + DEFAULT_SUBGRAPH_MAX_BLOCK_DISTANCE
4444
const DEFAULT_SUBGRAPH_FRESHNESS_SLEEP_MILLISECONDS = 5_000

0 commit comments

Comments
 (0)